[go: up one dir, main page]

CN110045897A - A kind of information display method and terminal device - Google Patents

A kind of information display method and terminal device Download PDF

Info

Publication number
CN110045897A
CN110045897A CN201910183597.0A CN201910183597A CN110045897A CN 110045897 A CN110045897 A CN 110045897A CN 201910183597 A CN201910183597 A CN 201910183597A CN 110045897 A CN110045897 A CN 110045897A
Authority
CN
China
Prior art keywords
information
input
text information
terminal device
image
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
CN201910183597.0A
Other languages
Chinese (zh)
Other versions
CN110045897B (en
Inventor
邹胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910183597.0A priority Critical patent/CN110045897B/en
Publication of CN110045897A publication Critical patent/CN110045897A/en
Application granted granted Critical
Publication of CN110045897B publication Critical patent/CN110045897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例提供一种信息显示方法及终端设备,涉及通信技术领域,以解决目前用户通过终端设备输入图像中的信息的过程比较繁琐的问题。该方法包括:接收用户对第一图像的第一输入,该第一图像中包括文本信息;且响应于该第一输入,显示M个信息框,该M个信息框中的每个信息框包括至少一条文本信息,不同信息框中的文本信息不同,该每个信息框中的文本信息为该第一图像中的文本信息,M为正整数;以及接收用户对该M个信息框中的N个信息框的第二输入,N为小于或等于M的正整数;并响应于该第二输入,在目标页面中的至少一个信息输入区域中,显示该N个信息框中的文本信息。该方法应用于用户通过终端设备输入图像中的信息的场景中。

Embodiments of the present invention provide an information display method and a terminal device, which relate to the field of communication technologies, so as to solve the problem that the current process of a user inputting information in an image through a terminal device is cumbersome. The method includes: receiving a first input from a user to a first image, the first image including text information; and in response to the first input, displaying M information boxes, each of the M information boxes including At least one piece of text information, the text information in different information boxes is different, the text information in each information box is the text information in the first image, and M is a positive integer; N is a positive integer less than or equal to M; and in response to the second input, the text information in the N information boxes is displayed in at least one information input area in the target page. The method is applied to a scenario where a user inputs information in an image through a terminal device.

Description

一种信息显示方法及终端设备Information display method and terminal device

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种信息显示方法及终端设备。Embodiments of the present invention relate to the field of communication technologies, and in particular, to an information display method and a terminal device.

背景技术Background technique

随着通信技术的高速发展,终端设备的应用越来越广泛,用户对终端设备的性能要求也越来越高。With the rapid development of communication technology, the application of terminal equipment is becoming more and more extensive, and the performance requirements of users on the terminal equipment are also getting higher and higher.

目前,当用户通过终端设备将一张图像中的信息输入到某一页面时,用户可以通过一个输入(例如输入1)触发终端设备保存该图像,并通过另一个输入(例如输入2)触发终端设备运行某个具有识图功能的应用,再通过又一个输入(例如输入3)触发终端设备在该应用中运行该图像,以及再通过又一个输入(例如输入4)触发该应用识别该图像,从而可以触发终端设备获取该图像中的信息,然后再通过又一个输入(例如输入5)触发终端设备将终端设备获取的该信息输入到该页面中。Currently, when a user inputs information from an image to a certain page through a terminal device, the user can trigger the terminal device to save the image through one input (eg, input 1), and trigger the terminal through another input (eg, input 2) The device runs an application with an image recognition function, and then triggers the terminal device to run the image in the application through another input (such as input 3), and triggers the application to recognize the image through another input (such as input 4), Thus, the terminal device can be triggered to acquire the information in the image, and then another input (eg, input 5) is used to trigger the terminal device to input the information acquired by the terminal device into the page.

然而,上述方法中,若用户需要通过终端设备将一张图像中的信息输入到某一页面时,则用户需要通过多个输入才能触发终端设备将该图像中的信息输入到该页面,因此导致用户通过终端设备在页面中输入图像中的信息的过程比较繁琐。However, in the above method, if the user needs to input the information in an image into a certain page through the terminal device, the user needs to make multiple inputs to trigger the terminal device to input the information in the image into the page, thus resulting in The process for the user to input the information in the image in the page through the terminal device is cumbersome.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种信息显示方法及终端设备,以解决目前用户通过终端设备输入图像中的信息的过程比较繁琐的问题。Embodiments of the present invention provide an information display method and a terminal device, so as to solve the problem that the current process of a user inputting information in an image through a terminal device is cumbersome.

为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:

第一方面,本发明实施例提供了一种信息显示方法,该方法包括:In a first aspect, an embodiment of the present invention provides an information display method, the method comprising:

接收用户对第一图像的第一输入;且响应于该第一输入,显示M个信息框;以及接收用户对该M个信息框中的N个信息框的第二输入;并响应于该第二输入,在目标页面中的至少一个信息输入区域中,显示该N个信息框中的文本信息。其中,该第一图像中包括文本信息,该M个信息框中的每个信息框包括至少一条文本信息,不同信息框中的文本信息不同,每个信息框中的文本信息为该第一图像中的文本信息,M为正整数,N为小于或等于M的正整数。receiving a first user input for the first image; and in response to the first input, displaying M information boxes; and receiving a second user input for the N information boxes in the M information boxes; and in response to the first input The second input is to display the text information in the N information boxes in at least one information input area in the target page. Wherein, the first image includes text information, each information box in the M information boxes includes at least one piece of text information, the text information in different information boxes is different, and the text information in each information box is the first image The text information in , M is a positive integer, and N is a positive integer less than or equal to M.

第二方面,本发明实施例提供了一种终端设备,该终端设备包括接收模块和显示模块。接收模块,用于接收用户对第一图像的第一输入;显示模块,用于响应于接收模块接收的第一输入,显示M个信息框接收模块;接收模块,还用于接收用户对显示模块显示的M个信息框中的N个信息框的第二输入;显示模块,还用于响应于接收模块接收的第二输入,在目标页面中的至少一个信息输入区域中,显示N个信息框中的文本信息。其中,该第一图像中包括文本信息,该M个信息框中的每个信息框包括至少一条文本信息,不同信息框中的文本信息不同,每个信息框中的文本信息为该第一图像中的文本信息,M为正整数,N为小于或等于M的正整数。In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes a receiving module and a display module. a receiving module, used for receiving the first input of the user to the first image; a display module, used for displaying M information frame receiving modules in response to the first input received by the receiving module; The second input of N information boxes in the displayed M information boxes; the display module is further configured to display N information boxes in at least one information input area in the target page in response to the second input received by the receiving module text information in . Wherein, the first image includes text information, each information box in the M information boxes includes at least one piece of text information, the text information in different information boxes is different, and the text information in each information box is the first image The text information in , M is a positive integer, and N is a positive integer less than or equal to M.

第三方面,本发明实施例提供了一种终端设备,该终端设备包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如上述第一方面中的信息显示方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal device, the terminal device includes a processor, a memory, and a computer program stored in the memory and running on the processor, when the computer program is executed by the processor Implement the steps of the information display method as in the above-mentioned first aspect.

第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如上述第一方面中的信息显示方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the information display method in the first aspect above .

在本发明实施例中,可以接收用户对第一图像(包括文本信息)的第一输入,且响应于该第一输入,显示M个信息框(M个信息框中的每个信息框包括至少一条文本信息,不同信息框中的文本信息不同,每个信息框中的文本信息为第一图像中的文本信息,M为正整数),以及接收用户对该M个信息框中的N(为小于或等于M的正整数)个信息框的第二输入,并响应于该第二输入,在目标页面中的至少一个信息输入区域中,显示该N个信息框中的文本信息。通过该方案,由于用户可以通过上述第一输入触发终端设备获取并显示图像中的文本信息,并且用户可以通过对某些文本信息的第二输入触发终端设备将这些文本信息输入到某个页面中的信息输入区域,即使得这些文本信息显示在该信息输入区域。如此,当用户通过终端设备将一张图像中的信息输入到某一页面时,用户通过两次输入,即可触发终端设备将该图像中的信息输入到该页面中,从而可以简化用户通过终端设备在页面中输入图像中的信息的步骤。In this embodiment of the present invention, a first input of a first image (including text information) by a user may be received, and in response to the first input, M information boxes are displayed (each information box of the M information boxes includes at least A piece of text information, the text information in different information boxes is different, the text information in each information box is the text information in the first image, M is a positive integer), and the receiving user N in the M information boxes (for A positive integer less than or equal to M) the second input of the information boxes, and in response to the second input, in at least one information input area in the target page, the text information in the N information boxes is displayed. With this solution, because the user can trigger the terminal device to acquire and display the text information in the image through the above-mentioned first input, and the user can trigger the terminal device to input some text information into a certain page through the second input of some text information the information input area, that is, the text information is displayed in the information input area. In this way, when the user inputs the information in an image into a certain page through the terminal device, the user can trigger the terminal device to input the information in the image into the page through two inputs, thus simplifying the user through the terminal Steps in which the device enters the information in the image in the page.

附图说明Description of drawings

图1为本发明实施例提供的安卓操作系统的架构示意图;1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present invention;

图2为本发明实施例提供的信息显示方法的示意图;2 is a schematic diagram of an information display method provided by an embodiment of the present invention;

图3为本发明实施例提供的信息显示方法应用的界面示意图之一;Fig. 3 is one of the interface schematic diagrams of the application of the information display method provided by the embodiment of the present invention;

图4为本发明实施例提供的信息显示方法应用的界面示意图之二;Fig. 4 is the second interface schematic diagram of the application of the information display method provided by the embodiment of the present invention;

图5为本发明实施例提供的信息显示方法应用的界面示意图之三;FIG. 5 is the third interface schematic diagram of the application of the information display method provided by the embodiment of the present invention;

图6为本发明实施例提供的信息显示方法应用的界面示意图之四;FIG. 6 is the fourth schematic diagram of the interface of the application of the information display method provided by the embodiment of the present invention;

图7为本发明实施例提供的信息显示方法应用的界面示意图之五;FIG. 7 is the fifth schematic diagram of the interface of the application of the information display method provided by the embodiment of the present invention;

图8为本发明实施例提供的信息显示方法应用的界面示意图之六;FIG. 8 is the sixth schematic diagram of the interface of the application of the information display method provided by the embodiment of the present invention;

图9为本发明实施例提供的信息显示方法应用的界面示意图之七;FIG. 9 is the seventh schematic diagram of the interface of the application of the information display method provided by the embodiment of the present invention;

图10为本发明实施例提供的终端设备的结构示意图之一;10 is one of schematic structural diagrams of a terminal device provided by an embodiment of the present invention;

图11为本发明实施例提供的终端设备的结构示意图之二;FIG. 11 is a second schematic structural diagram of a terminal device according to an embodiment of the present invention;

图12为本发明实施例提供的终端设备的硬件示意图。FIG. 12 is a schematic diagram of hardware of a terminal device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this paper is an association relationship that describes an associated object, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone these three situations. The symbol "/" in this document indicates the relationship in which the associated object is or, for example, A/B indicates A or B.

本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。The terms "first" and "second" and the like in the description and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first input and the second input, etc. are used to distinguish different inputs, not to describe a specific order of the inputs.

在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等。In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "plurality" refers to two or more, for example, a plurality of processing units refers to two or more processing units and the like.

下面首先对本发明实施例中的各个名词和/或术语进行解释说明。Each term and/or term in the embodiments of the present invention will first be explained below.

光学字符识别(Optical Character Recognition,OCR)技术:是指通过扫描等光学输入方式将各种票据、报刊、书籍、文稿及其它印刷品的文字转化为图像信息,再利用文字识别技术将图像信息转化为可以使用的计算机输入的技术。Optical Character Recognition (OCR) technology: It refers to converting the text of various bills, newspapers, books, manuscripts and other printed materials into image information by scanning and other optical input methods, and then using text recognition technology to convert the image information into image information. Computer input techniques that can be used.

本发明实施例提供一种信息显示方法及终端设备,可以接收用户对第一图像(包括文本信息)的第一输入,且响应于该第一输入,显示M个信息框(M个信息框中的每个信息框包括至少一条文本信息,不同信息框中的文本信息不同,每个信息框中的文本信息为第一图像中的文本信息,M为正整数),以及接收用户对该M个信息框中的N(为小于或等于M的正整数)个信息框的第二输入,并响应于该第二输入,在目标页面中的至少一个信息输入区域中,显示该N个信息框中的文本信息。通过该方案,由于用户可以通过上述第一输入触发终端设备获取并显示图像中的文本信息,并且用户可以通过对某些文本信息的第二输入触发终端设备将这些文本信息输入到某个页面中的信息输入区域,即使得这些文本信息显示在该信息输入区域。如此,当用户通过终端设备将一张图像中的信息输入到某一页面时,用户通过两次输入,即可触发终端设备将该图像中的信息输入到该页面中,从而可以简化用户通过终端设备在页面中输入图像中的信息的步骤。Embodiments of the present invention provide an information display method and a terminal device, which can receive a first input of a first image (including text information) by a user, and display M information boxes (M information boxes) in response to the first input. Each of the information boxes includes at least one piece of text information, the text information in different information boxes is different, the text information in each information box is the text information in the first image, M is a positive integer), and the receiving user has the M The second input of N (positive integers less than or equal to M) information boxes in the information box, and in response to the second input, the N information boxes are displayed in at least one information input area in the target page text information. With this solution, because the user can trigger the terminal device to acquire and display the text information in the image through the above-mentioned first input, and the user can trigger the terminal device to input some text information into a certain page through the second input of some text information the information input area, that is, the text information is displayed in the information input area. In this way, when the user inputs the information in an image into a certain page through the terminal device, the user can trigger the terminal device to input the information in the image into the page through two inputs, thus simplifying the user through the terminal Steps in which the device enters the information in the image in the page.

本发明实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.

下面以安卓操作系统为例,介绍一下本发明实施例提供的信息显示方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the information display method provided by the embodiment of the present invention is applied.

如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).

其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.

应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application.

系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.

内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.

以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的信息显示方法的软件程序,从而使得该信息显示方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的信息显示方法。Taking the Android operating system as an example, in this embodiment of the present invention, a developer can develop a software program for implementing the information display method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The display method may run based on the Android operating system as shown in FIG. 1 . That is, the processor or the terminal device can implement the information display method provided by the embodiment of the present invention by running the software program in the Android operating system.

本发明实施例中的终端设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The terminal device in this embodiment of the present invention may be a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA). ), etc., the non-mobile terminal may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.

本发明实施例提供的信息显示方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该信息显示方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以终端设备为例,对本发明实施例提供的信息显示方法进行示例性的说明。The execution subject of the information display method provided by the embodiment of the present invention may be the above-mentioned terminal device, or may be a functional module and/or functional entity capable of implementing the information display method in the terminal device. The embodiments of the present invention are not limited. The following takes a terminal device as an example to exemplarily describe the information display method provided by the embodiment of the present invention.

本发明实施例中,在某张图像(例如第一图像)中包括至少一条文本信息的情况下,当用户需要通过终端设备将该图像中的文本信息输入到某一页面(例如目标页面),即用户触发终端设备在该页面中显示该图像中的文本信息时,用户可以通过一个输入,触发终端设备显示该图像,再通过一个输入(例如第一输入)触发终端设备获取并显示包括该图像中的文本信息的至少一个信息框,然后用户可以通过另一个输入(例如第二输入)选择该至少一个信息框中的信息框,以触发终端设备将该信息框中的文本信息显示在该页面中的信息输入区域。In this embodiment of the present invention, when an image (such as the first image) includes at least one piece of text information, when the user needs to input the text information in the image into a certain page (such as a target page) through a terminal device, That is, when the user triggers the terminal device to display the text information in the image on the page, the user can trigger the terminal device to display the image through an input, and then trigger the terminal device to acquire and display the image through an input (such as the first input). At least one information box of the text information in the information box, and then the user can select the information box in the at least one information box through another input (such as a second input) to trigger the terminal device to display the text information in the information box on the page. in the information input area.

下面具体结合各个附图对本发明实施例提供的信息显示方法进行示例性的说明。The information display method provided by the embodiments of the present invention will be exemplarily described below in detail with reference to the accompanying drawings.

如图2所示,本发明实施例提供一种信息显示方法,该方法可以包括下述的S201-S204。As shown in FIG. 2, an embodiment of the present invention provides an information display method, and the method may include the following S201-S204.

S201、终端设备接收用户对第一图像的第一输入。S201. The terminal device receives a first input of a first image by a user.

其中,上述第一图像中可以包括文本信息。Wherein, the above-mentioned first image may include text information.

S202、终端设备响应于该第一输入,显示M个信息框。S202. The terminal device displays M information boxes in response to the first input.

其中,上述M个信息框中的每个信息框可以包括至少一条文本信息,不同信息框中的文本信息可以不同,每个信息框中的文本信息均为上述第一图像中的文本信息,M为正整数。Wherein, each information box in the above-mentioned M information boxes may include at least one piece of text information, the text information in different information boxes may be different, and the text information in each information box is the text information in the above-mentioned first image, M is a positive integer.

本发明实施例中,当用户需要通过终端设备将某张图像(即上述第一图像)中的文本信息输入到某一页面中时,用户首先可以通过一个输入触发终端设备显示该第一图像,然后再通过上述第一输入触发终端设备显示M个包括该第一图像中的文本信息的信息框。从而可以使得终端设备获取到该第一图像中的文本信息。In this embodiment of the present invention, when a user needs to input text information in a certain image (that is, the above-mentioned first image) into a certain page through a terminal device, the user can first trigger the terminal device to display the first image through an input, Then, the terminal device is triggered to display M information boxes including the text information in the first image through the first input. Therefore, the terminal device can obtain the text information in the first image.

可选的,本发明实施例中,上述第一图像可以为终端设备中保存的图像,也可以为用户触发终端设备在其它应用中获取的图像。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned first image may be an image saved in a terminal device, or may be an image acquired by a user triggered by the terminal device in other applications. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

可以理解,本发明实施例中,上述M个信息框中的每个信息框可以包括一条文本信息,也可以包括多条文本信息。It can be understood that, in this embodiment of the present invention, each information box in the above-mentioned M information boxes may include one piece of text information, or may include multiple pieces of text information.

可选的,本发明实施例中,上述M个信息框中的不同信息框可以对应不同的信息类型,一个信息框中的文本信息可以属于同一种信息类型。Optionally, in this embodiment of the present invention, different information boxes in the above-mentioned M information boxes may correspond to different information types, and the text information in one information box may belong to the same information type.

本发明实施例中,上述信息类型可以用于指示文本信息的内容类型。In this embodiment of the present invention, the above information type may be used to indicate the content type of the text information.

可选的,本发明实施例中,上述信息类型可以为姓名、年龄、性别、电话号码、职业,以及应用账号等任意可能的类型。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above information type may be any possible type such as name, age, gender, phone number, occupation, and application account number. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

需要说明的是,本发明实施例中,若一个信息框中包括多条文本信息,则该多条文本信息所属的信息类型可以相同。示例性的,一个信息框中包括3条文本信息,这3条文本信息分别为:“小花”、“小梅”和“大明”,其中,这3条文本信息所属的信息类型均为信息类型“姓名”。It should be noted that, in this embodiment of the present invention, if an information box includes multiple pieces of text information, the information types to which the multiple pieces of text information belong may be the same. Exemplarily, an information box includes 3 pieces of text information, and the 3 pieces of text information are: "Xiao Hua", "Xiao Mei" and "Da Ming", wherein, the information types to which these 3 pieces of text information belong are all information types" Name".

可选的,本发明实施例中,上述信息框的形状可以为矩形、菱形,或者圆形等任意可以满足实际使用需求的形状。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the shape of the above-mentioned information frame may be any shape that can meet actual use requirements, such as a rectangle, a diamond, or a circle. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

可选的,本发明实施例中,上述信息框为可以移动的信息框。即用户可以通过一个输入触发终端设备将该信息框移动至其它页面。Optionally, in this embodiment of the present invention, the above-mentioned information frame is a movable information frame. That is, the user can trigger the terminal device to move the information box to other pages through an input.

可选的,本发明实施例中,上述第一输入可以为用户对上述第一图像的单击输入、双击输入、长按输入,或者重按输入等任意可能的输入。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned first input may be any possible input such as a single-click input, a double-click input, a long-press input, or a re-press input of the user on the above-mentioned first image. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

本发明实施例中,上述长按输入可以为用户在终端设备的屏幕上以大于或等于时间阈值的时长按下的输入。In this embodiment of the present invention, the above-mentioned long-pressing input may be an input that the user presses on the screen of the terminal device for a duration greater than or equal to a time threshold.

可选的,本发明实施例中,上述时间阈值可以为终端设备中预置的数值,该时间阈值可以为终端设备的厂商根据终端设备的性能在终端设备中预置的。具体可以根据实际使用需求确定,本发明实施例在不作限定。Optionally, in this embodiment of the present invention, the above-mentioned time threshold may be a value preset in the terminal device, and the time threshold may be preset in the terminal device by the manufacturer of the terminal device according to the performance of the terminal device. Specifically, it can be determined according to actual usage requirements, which is not limited in this embodiment of the present invention.

本发明实施例中,上述重按输入可以为用户在终端设备的屏幕上以大于或等于压力阈值的压力值按下的输入。In this embodiment of the present invention, the above-mentioned re-pressing input may be an input that the user presses on the screen of the terminal device with a pressure value greater than or equal to the pressure threshold value.

可选的,本发明实施例中,上述压力阈值可以为终端设备中预置的数值,该压力阈值可以为终端设备的厂商根据终端设备的性能在终端设备中预置的。具体可以根据实际使用需求确定,本发明实施例在不作限定。Optionally, in this embodiment of the present invention, the pressure threshold may be a value preset in the terminal device, and the pressure threshold may be preset in the terminal device by the manufacturer of the terminal device according to the performance of the terminal device. Specifically, it can be determined according to actual usage requirements, which is not limited in this embodiment of the present invention.

可选的,本发明实施例中,用户可以通过上述第一输入,触发终端设备在上述第一图像中的某个包括文本信息的区域(例如本发明实施例中的目标区域)显示一个用于截取该区域的图像的选取框(例如本发明实施例中的目标选取框),以截取该区域的图像;并在截取到该区域的图像之后,识别该区域的图像中的文本信息,以及在识别出这些文本信息之后,根据这些文本信息对应的信息类型的数量(以下称为目标数量),生成与目标数量相同数量的信息框(例如上述M个信息框),以及通过这些信息框,显示这些文本信息(具体的,可以通过一个信息框显示属于同一种信息类型的文本信息)。Optionally, in this embodiment of the present invention, the user can trigger the terminal device to display an area containing text information (for example, the target area in the embodiment of the present invention) in the above-mentioned first image through the above-mentioned first input. intercepting a marquee of the image of the area (for example, the target marquee in the embodiment of the present invention), to intercept the image of the area; and after intercepting the image of the area, identifying the text information in the image of the area, and After identifying these text information, according to the number of information types corresponding to these text information (hereinafter referred to as the target number), generate the same number of information boxes as the target number (for example, the above M information boxes), and through these information boxes, display These text information (specifically, text information belonging to the same information type can be displayed through an information box).

示例性的,本发明实施例中,上述S202具体可以通过下述的S202a-S202c实现。Exemplarily, in this embodiment of the present invention, the foregoing S202 may be specifically implemented by the following S202a-S202c.

S202a、终端设备响应于第一输入,在第一图像中的目标区域显示目标选取框。S202a, the terminal device displays a target marquee in the target area in the first image in response to the first input.

其中,上述目标选取框可以用于截取上述目标区域的图像,该目标区域中可以包括文本信息。Wherein, the above-mentioned target marquee may be used to capture the image of the above-mentioned target area, and the target area may include text information.

S202b、终端设备识别该目标区域的图像中的文本信息。S202b, the terminal device identifies the text information in the image of the target area.

S202c、终端设备显示M个信息框。S202c, the terminal device displays M information boxes.

其中,上述M个信息框中的文本信息为上述目标区域的图像中的文本信息。Wherein, the text information in the above-mentioned M information boxes is the text information in the image of the above-mentioned target area.

本发明实施例中,终端设备在接收到用户对上述第一图像的第一输入之后,终端设备响应于上述第一输入,可以先在上述第一图像中包括文本信息的区域(即上述目标区域)显示上述目标选取框,以截取目标区域的图像,并在截取该目标区域的图像之后,识别该目标区域的图像中的文本信息,然后再在上述M个信息框中显示该目标区域的图像中的文本信息(即该M个信息框中的文本信息可以为该目标区域的图像中的文本信息)。In this embodiment of the present invention, after the terminal device receives the first input of the first image from the user, the terminal device may first include an area of text information in the first image (that is, the target area) in response to the first input. ) display the above-mentioned target marquee, to intercept the image of the target area, and after intercepting the image of the target area, identify the text information in the image of the target area, and then display the image of the target area in the above-mentioned M information boxes (that is, the text information in the M information boxes may be the text information in the image of the target area).

本发明实施例中,上述目标区域可以为第一图像中用户需要获得的文本信息所在的区域。In this embodiment of the present invention, the above-mentioned target area may be an area in the first image where the text information that the user needs to obtain is located.

可选的,本发明实施例中,上述目标选取框可以直接显示在上述目标区域上;还可以显示在第一图像的其它区域,再由用户将该目标选取框拖动到该目标区域上。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the target marquee can be directly displayed on the target area; it can also be displayed in other areas of the first image, and the user can then drag the target marquee onto the target area. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

可选的,本发明实施例中,上述第一输入可以包括两个子输入,分别为第一子输入和第二子输入。其中,该第一子输入可以为用户触发终端设备在上述目标区域显示上述目标选取框的输入,该第二子输入可以为用户触发终端设备识别上述目标区域的图像的输入。Optionally, in this embodiment of the present invention, the above-mentioned first input may include two sub-inputs, which are a first sub-input and a second sub-input, respectively. The first sub-input may be an input for the user to trigger the terminal device to display the target selection box in the target area, and the second sub-input may be an input for the user to trigger the terminal device to identify the image of the target area.

具体的,本发明实施例中,当上述目标选取框直接显示在上述目标区域上时,上述第一子输入可以为触发终端设备显示该目标选取框的输入;当该目标选取框显示在第一图像的其它区域,再由用户将该目标选取框拖动到该目标区域上时,上述第一子输入可以为用户触发终端设备显示该目标选取框,并将该目标选取框拖动到该目标区域的输入。Specifically, in this embodiment of the present invention, when the target selection box is directly displayed on the target area, the first sub-input may be an input that triggers the terminal device to display the target selection box; when the target selection box is displayed on the first sub-input In other areas of the image, when the user drags the target marquee to the target area, the above-mentioned first sub-input can trigger the terminal device to display the target marquee for the user, and drag the target marquee to the target area input.

可选的,本发明实施例中,上述第一子输入可以为用户在终端设备的屏幕上对上述第一图像的长按输入、重按输入,以及滑动输入等任意可能的输入。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned first sub-input may be any possible input such as a long-press input, a re-press input, and a sliding input of the user on the screen of the terminal device on the above-mentioned first image. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

可选的,本发明实施例中,当上述第一子输入为用户在终端设备的屏幕上对上述第一图像中的文本信息的输入时,终端设备响应于该第一子输入,可以直接显示上述目标选取框。当用户在终端设备的屏幕上对该第一图像中的非文本信息区域(例如第一图像中的空白区域)输入时,终端设备可以显示目标提示信息,以提醒用户在终端设备的屏幕上对第一图像中的文本信息输入,从而以触发终端设备截取第一图像中文本信息所在区域的图像(即上述目标区域的图像)。Optionally, in this embodiment of the present invention, when the above-mentioned first sub-input is an input of the text information in the above-mentioned first image by the user on the screen of the terminal device, the terminal device may directly display the text information in response to the first sub-input. Target marquee above. When the user inputs the non-text information area in the first image (for example, the blank area in the first image) on the screen of the terminal device, the terminal device may display target prompt information to remind the user to The text information in the first image is input, thereby triggering the terminal device to intercept the image of the area where the text information in the first image is located (ie, the image of the above-mentioned target area).

示例性的,本发明实施例中,假设上述第一子输入为用户在终端设备的屏幕上对上述第一图像中的文本信息的输入,那么,如图3中的(a)所示,当用户长按第一图像中的文本信息“13288889999”,即终端设备接收到用户的第一子输入时,终端设备响应于该第一子输入,如图3中的(b)所示,终端设备可以在该文本信息所在区域(即目标区域)显示上述目标选取框,以截取文本信息“13288889999”所在区域的图像(即目标区域的图像)。Exemplarily, in this embodiment of the present invention, it is assumed that the above-mentioned first sub-input is the user's input of the text information in the above-mentioned first image on the screen of the terminal device, then, as shown in (a) of FIG. 3 , when The user long presses the text information "13288889999" in the first image, that is, when the terminal device receives the user's first sub-input, the terminal device responds to the first sub-input, as shown in (b) in Figure 3, the terminal device The above-mentioned target marquee can be displayed in the area where the text information is located (ie the target area) to capture the image of the area where the text information "13288889999" is located (ie the image of the target area).

又示例性的,本发明实施例中,如图4中的(a)所示,当用户在终端设备的屏幕上对上述第一图像中的空白区域输入,即终端设备接收到用户对第一图像中的空白区域的输入时,终端设备响应于该输入,如图4中的(b)所示,可以显示目标提示信息“请长按需要截取的文本信息”,以提醒用户在该第一图像的文本信息上输入,以触发终端设备截取上述目标区域的图像。其中,这种情况下,本发明实施例中的第一子输入可以为用户在终端设备的屏幕上对上述第一图像中的文本信息的长按输入。In another example, in this embodiment of the present invention, as shown in (a) of FIG. 4 , when the user inputs the blank area in the first image on the screen of the terminal device, that is, the terminal device receives the user's response to the first image. When the blank area in the image is input, the terminal device responds to the input, as shown in (b) in FIG. Input the text information of the image to trigger the terminal device to intercept the image of the target area. Wherein, in this case, the first sub-input in this embodiment of the present invention may be a user's long-press input on the text information in the above-mentioned first image on the screen of the terminal device.

可选的,本发明实施例中,上述目标选取框可以包括两种形式,该两种形式具体可以为下述的形式一和形式二,下面对目标选取框的两种形式(形式一和形式二)分别进行示例性的说明。Optionally, in this embodiment of the present invention, the above-mentioned target marquee may include two forms, and the two forms may specifically be the following form 1 and form 2, and the following two forms of the target marquee (form 1 and form 2) Form 2) respectively carry out exemplary description.

形式一:上述目标选取框的面积可以随着第一子输入的输入参数的值的增大而增大。Form 1: The area of the above-mentioned target selection box may increase as the value of the input parameter of the first sub-input increases.

其中,上述第一子输入的输入参数可以包括以下任意一项:第一子输入的输入时间、第一子输入的输入压力、第一子输入的输入轨迹等。The input parameters of the first sub-input may include any one of the following: input time of the first sub-input, input pressure of the first sub-input, input trajectory of the first sub-input, and the like.

本发明实施例中,当上述第一子输入的输入参数为第一子输入的输入时间时,在终端设备显示上述第一图像之后,用户可以通过上述第一子输入,触发终端设备显示上述目标选取框,该目标选取框的面积随着第一子输入的输入时间的增大而增大,直至该目标选取框可以截取上述目标区域中用户需要获得的所有文本信息为止,此时,用户可以结束上述第一子输入。In this embodiment of the present invention, when the input parameter of the first sub-input is the input time of the first sub-input, after the terminal device displays the first image, the user can trigger the terminal device to display the target through the first sub-input Marquee, the area of the target marquee increases with the increase of the input time of the first sub-input, until the target marquee can intercept all the text information that the user needs to obtain in the above target area, at this time, the user can End the first sub-input above.

本发明实施例中,当上述第一子输入的输入参数为第一子输入的输入压力时,在终端设备显示上述第一图像之后,用户可以通过上述第一子输入,触发终端设备显示上述目标选取框,该目标选取框的面积随着第一子输入的输入压力的增大而增大,直至该目标选取框可以截取上述目标区域中用户需要获得的所有文本信息为止,此时,用户可以结束上述第一子输入。In this embodiment of the present invention, when the input parameter of the first sub-input is the input pressure of the first sub-input, after the terminal device displays the first image, the user can trigger the terminal device to display the target through the first sub-input Marquee, the area of the target marquee increases with the increase of the input pressure of the first sub-input, until the target marquee can intercept all the text information that the user needs to obtain in the above target area, at this time, the user can End the first sub-input above.

本发明实施例中,当上述第一子输入的输入参数为第一子输入的输入轨迹时,在终端设备显示上述第一图像之后,用户可以通过上述第一子输入,触发终端设备显示上述目标选取框,该目标选取框的面积随着第一子输入的输入轨迹的增大而增大,直至该目标选取框可以截取上述目标区域中用户需要获得的所有文本信息为止,此时,用户可以结束上述第一子输入。In this embodiment of the present invention, when the input parameter of the first sub-input is the input track of the first sub-input, after the terminal device displays the first image, the user can trigger the terminal device to display the target through the first sub-input Marquee, the area of the target marquee increases with the increase of the input track of the first sub-input, until the target marquee can intercept all the text information that the user needs to obtain in the above target area, at this time, the user can End the first sub-input above.

形式二:上述目标选取框可以为可调整面积的矩形框,用户可以根据上述目标区域的面积大小调整目标选取框的面积。Form 2: The above-mentioned target marquee box may be a rectangular box with an adjustable area, and the user can adjust the area of the target marquee box according to the size of the above-mentioned target area.

本发明实施例中,在终端设备显示上述第一图像之后,用户可以通过上述第一子输入,触发终端设备显示上述目标选取框,并根据上述目标区域的面积大小调整该目标选取框。In this embodiment of the present invention, after the terminal device displays the first image, the user can trigger the terminal device to display the target selection frame through the first sub-input, and adjust the target selection frame according to the size of the target area.

可选的,本发明实施例中,用户可以通过对上述目标选取框的边缘的缩放输入,触发终端设备调整该目标选取框的面积。Optionally, in this embodiment of the present invention, the user may trigger the terminal device to adjust the area of the target marquee by inputting a zoom on the edge of the target marquee.

可选的,本发明实施例中,当上述第一子输入为触发终端设备在上述目标区域显示上述目标选取框的输入时,上述第二子输入可以为终端设备接收到用户结束上述第一子输入的输入,此时,该第一子输入和第二子输入可以为一个连续的输入,当第一子输入结束时,终端设备可确定接收到第二子输入,此时,终端设备响应于该第二子输入,可以识别上述目标区域的图像中的文本信息,然后在识别到这些文本信息之后,终端设备可以根据这些文本信息对应的信息类型的数量(即上述目标数量),生成与该目标数量相同数量的信息框(即上述M个信息框),以及通过该M个信息框显示这些文本信息。Optionally, in this embodiment of the present invention, when the above-mentioned first sub-input is an input that triggers the terminal device to display the above-mentioned target selection box in the above-mentioned target area, the above-mentioned second sub-input may be that the terminal device receives that the user ends the above-mentioned first sub-input. input input, at this time, the first sub-input and the second sub-input can be a continuous input, when the first sub-input ends, the terminal device can determine that the second sub-input is received, at this time, the terminal device responds to The second sub-input can identify the text information in the image of the target area, and after recognizing the text information, the terminal device can generate the corresponding information according to the number of information types corresponding to the text information (that is, the number of the above-mentioned targets). The target number is the same as the number of information boxes (that is, the above-mentioned M information boxes), and the text information is displayed through the M information boxes.

可选的,本发明实施例中,当上述第一子输入为用户触发终端设备显示该目标选取框,并将该目标选取框拖动到该目标区域的输入时,上述第二子输入可以为用户对目标控件的输入。如此,在用户将目标选取框拖动到目标区域时,用户可以通过该第二输入,触发终端设备截取该目标区域的图像,并在截取该目标区域的图像之后,识别该目标区域的图像中的文本信息。然后在识别到这些文本信息之后,终端设备可以根据这些文本信息对应的信息类型的数量(即上述目标数量),生成与该目标数量相同数量的信息框(即上述M个信息框),以及通过该M个信息框显示这些文本信息。Optionally, in this embodiment of the present invention, when the above-mentioned first sub-input is an input in which the user triggers the terminal device to display the target marquee and drags the target marquee to the target area, the above-mentioned second sub-input may be: User input to the target control. In this way, when the user drags the target marquee to the target area, the user can trigger the terminal device to intercept the image of the target area through the second input, and after intercepting the image of the target area, identify the image in the target area. text information. Then, after recognizing the text information, the terminal device can generate the same number of information boxes as the target number (that is, the above M information boxes) according to the number of information types corresponding to the text information (that is, the above-mentioned target number), and through the The M information boxes display the text information.

可选的,本发明实施例中,上述目标控件可以为“确定”控件或者“OK”控件等任意可能的控件。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned target control may be any possible control, such as an "OK" control or an "OK" control. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

可选的,本发明实施例中,终端设备可以采用文字识别技术识别上述目标区域的图像中的文本信息。其中,文字识别技术可以为OCR技术。Optionally, in this embodiment of the present invention, the terminal device may use a text recognition technology to recognize text information in the image of the target area. The character recognition technology may be OCR technology.

需要说明的是,本发明实施例中,上述M个信息框的数量可以根据上述目标区域的图像中的文本信息对应的信息类型的数量确定。It should be noted that, in this embodiment of the present invention, the number of the above-mentioned M information boxes may be determined according to the number of information types corresponding to the text information in the image of the above-mentioned target area.

具体的,本发明实施例中,若上述目标区域的图像中的文本信息对应3种信息类型,则终端设备可以显示3个信息框;若上述目标区域的图像中的文本信息对应5种信息类型,则终端设备可以显示5个信息框。Specifically, in this embodiment of the present invention, if the text information in the image of the target area corresponds to 3 types of information, the terminal device can display 3 information boxes; if the text information in the image of the target area corresponds to 5 types of information , the terminal device can display 5 information boxes.

下面结合图5,对本发明实施例中上述的S202a-S202c再进行示例性的说明。Hereinafter, with reference to FIG. 5 , the above-mentioned S202a-S202c in the embodiment of the present invention will be further exemplarily described.

示例性的,假设上述第一图像中包括4条文本信息,且每条文本信息所属的信息类型不同,那么,终端设备接收到用户的第一输入(包括上述第一子输入和上述第二子输入)之后,终端设备可以响应于该第一子输入,如图5中的(a)所示,在文本信息“A省B市C区”和文本信息“13288889999”所在区域(即上述目标区域)显示目标选取框51,以截取该目标区域的图像(该目标区域中包括两条文本信息,一条文本信息属于一种信息类型),并在截取该目标区域的图像之后,终端设备可以响应于该第二子输入,识别该目标区域的图像中的文本信息,并根据这些文本信息对应的信息类型的数量(即上述目标数量,此时目标数量为2),生成与该目标数量相同数量的信息框,即生成2个信息框(即上述M个信息框),以及如图5中的(b)所示,终端设备可以通过这2个信息框显示上述文本信息“A省B市C区”和文本信息“13288889999”。具体的,如图5中的(b)所示,2个信息框中的每个信息框分别包括一条文本信息。Exemplarily, assuming that the above-mentioned first image includes 4 pieces of text information, and each piece of text information belongs to a different information type, then the terminal device receives the user's first input (including the above-mentioned first sub-input and the above-mentioned second sub-input). input), the terminal device can respond to the first sub-input, as shown in FIG. 5 (a), in the area where the text information "A, Province B, City C," and the text information "13288889999" are located (that is, the above-mentioned target area ) to display the target marquee 51 to capture the image of the target area (the target area includes two pieces of text information, and one piece of text information belongs to a type of information), and after capturing the image of the target area, the terminal device can respond to The second sub-input identifies the text information in the image of the target area, and according to the number of information types corresponding to the text information (that is, the above-mentioned target number, in this case the target number is 2), generates the same number as the target number. Information box, namely generating 2 information boxes (that is, the above-mentioned M information boxes), and as shown in (b) in FIG. " and the text message "13288889999". Specifically, as shown in (b) of FIG. 5 , each of the two information boxes includes a piece of text information respectively.

需要说明的是,本发明实施例中,上述S202a中“在第一图像中的目标区域显示目标选取框”的步骤、上述S202b和上述S202c均是响应第一输入的结果。为了清楚地示意,仅在S202a中示意了“响应于第一输入”。It should be noted that, in the embodiment of the present invention, the step of "displaying a target marquee in the target area in the first image" in the above S202a, the above S202b and the above S202c are all results of responding to the first input. For clarity of illustration, "responding to the first input" is only shown in S202a.

本发明实施例中,终端设备响应于上述第一输入,可以先显示上述目标选取框,以截取上述目标区域的图像,然后再识别该目标区域的图像中的文本信息,并根据上述目标数量(这些文本信息对应的信息类型的数量),生成与该目标数量相同数量的信息框(即上述M个信息框),以及通过该M个信息框显示这些文本信息(即目标区域的图像中的文本信息)。如此,用户可以根据自身使用需求触发终端设备截取相应的图像,并触发终端设备从该图像中获取能够满足用户使用需求的文本信息,从而可以提高人机交互性。In this embodiment of the present invention, in response to the above-mentioned first input, the terminal device may first display the above-mentioned target selection box to intercept the image of the above-mentioned target area, and then recognize the text information in the image of the above-mentioned target area. The number of information types corresponding to these text information), generate the same number of information boxes as the target number (that is, the above-mentioned M information boxes), and display the text information (that is, the text in the image of the target area) through the M information boxes information). In this way, the user can trigger the terminal device to capture a corresponding image according to his own usage requirements, and trigger the terminal device to acquire text information from the image that can meet the user's usage requirements, thereby improving human-computer interaction.

S203、终端设备接收用户对该M个信息框中的N个信息框的第二输入。S203. The terminal device receives a second input from the user on the N information boxes in the M information boxes.

S204、终端设备响应于该第二输入,在目标页面中的至少一个信息输入区域中,显示该N个信息框中的文本信息。S204. In response to the second input, the terminal device displays the text information in the N information boxes in at least one information input area on the target page.

其中,N为小于或等于M的正整数。Among them, N is a positive integer less than or equal to M.

本发明实施例中,在终端设备显示上述M个信息框之后,用户可以通过对该M个信息框中的N个信息框的选择输入(即上述第二输入),触发终端设备在上述目标页面中的至少一个信息输入区域中显示该N个信息框中的文本信息。In this embodiment of the present invention, after the terminal device displays the above-mentioned M information boxes, the user can trigger the terminal device to display the above-mentioned target page by selecting and inputting N information boxes in the M information boxes (that is, the above-mentioned second input). The text information in the N information boxes is displayed in at least one of the information input areas.

可选的,本发明实施例中,上述第二输入可以为用户对上述N个信息框的单击输入、双击输入、长按输入、重按输入,或者拖动输入等任意可能的输入。Optionally, in this embodiment of the present invention, the above-mentioned second input may be any possible input such as a single-click input, a double-click input, a long-press input, a re-press input, or a drag input of the user to the above-mentioned N information boxes.

本发明实施例中,对于上述长按输入和重按输入的详细描述具体可以参见上述S201和S202中对长按输入和重按输入的相关描述,此处不再赘述。In this embodiment of the present invention, for a detailed description of the above-mentioned long-press input and re-press input, reference may be made to the relevant descriptions of the long-press input and the re-press input in the above S201 and S202, and details are not repeated here.

本发明实施例中,上述目标页面可以为用户需要通过终端设备输入文本信息的页面。In this embodiment of the present invention, the above-mentioned target page may be a page on which a user needs to input text information through a terminal device.

可选的,本发明实施例中,在终端设备显示上述M个信息框之后,用户可以触发终端设备显示上述目标页面。Optionally, in this embodiment of the present invention, after the terminal device displays the above-mentioned M information boxes, the user may trigger the terminal device to display the above-mentioned target page.

可选的,本发明实施例中,上述目标页面可以为在终端设备显示上述第一图像之前,在终端设备后台运行的页面,也可以为终端设备显示上述M个信息框之前,终端设备未运行的页面。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the target page may be a page that runs in the background of the terminal device before the terminal device displays the first image, or the terminal device does not run before the M information boxes are displayed for the terminal device. page. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

可选的,本发明实施例中,在终端设备显示上述M个信息框之后,用户可以通过第三输入触发终端设备显示上述目标页面。Optionally, in this embodiment of the present invention, after the terminal device displays the above-mentioned M information boxes, the user may trigger the terminal device to display the above-mentioned target page through a third input.

可选的,本发明实施例中,若上述目标页面为在终端设备显示上述第一图像之前,在终端设备后台运行的页面,则上述第三输入可以为用户对特定按键的单击输入、双击输入、长按输入,或者重按输入等任意可能的输入。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, if the above-mentioned target page is a page running in the background of the terminal device before the terminal device displays the above-mentioned first image, the above-mentioned third input may be a user's single-click input on a specific button, a double-click input. Enter, press and hold Enter, or press Enter again for any possible input. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

可选的,本发明实施例中,上述特定按键可以为Home键或者人工智能按键等任意可能的按键。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned specific key may be any possible key such as a Home key or an artificial intelligence key. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

示例性的,本发明实施例中,假设上述目标页面为在终端设备显示上述第一图像之前,在终端设备后台运行的页面,上述特定按键为Home键,上述第三输入为用户对Home键的长按输入,在终端设备显示2个信息框(即上述M个信息框)之后,如图6中的(a)所示,终端设备接收到用户对Home键的长按输入(即上述第三输入),响应于该第三输入,如图6中的(b)所示,终端设备显示两个页面,这两个页面包括显示上述第一图像的页面(以下简称为第一页面)和页面1(即上述目标页面)。Exemplarily, in this embodiment of the present invention, it is assumed that the above-mentioned target page is a page that runs in the background of the terminal device before the terminal device displays the above-mentioned first image, the above-mentioned specific key is the Home key, and the above-mentioned third input is the user's input to the Home key. Long press input, after the terminal device displays 2 information boxes (that is, the above M information boxes), as shown in (a) in Figure 6, the terminal device receives the user's long press input on the Home key (that is, the above third input), in response to the third input, as shown in (b) in FIG. 6 , the terminal device displays two pages, the two pages include the page displaying the above-mentioned first image (hereinafter referred to as the first page) and the page 1 (i.e. the above target page).

可选的,本发明实施例中,在终端设备显示上述第一页面和上述目标页面之后,当终端设备接收到上述第二输入时,终端设备可以取消显示该第一页面,并显示该目标页面。Optionally, in this embodiment of the present invention, after the terminal device displays the above-mentioned first page and the above-mentioned target page, when the terminal device receives the above-mentioned second input, the terminal device may cancel the display of the first page and display the target page. .

可选的,本发明实施例中,当N小于M时,在终端设备在上述目标页面中的至少一个区域显示上述N个信息框中的文本信息之后,终端设备可以继续显示上述M个信息框中的未被用户选择的信息框(即该M个信息框中除该N个信息框之外的信息框),也可以取消显示这些信息框。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, when N is less than M, after the terminal device displays the text information in the N information boxes in at least one area of the target page, the terminal device may continue to display the M information boxes. In the information boxes that are not selected by the user (that is, the information boxes other than the N information boxes in the M information boxes), the display of these information boxes can also be canceled. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

可选的,本发明实施例中,当上述第二输入为用户对上述N个信息框的拖动输入时,用户可以将该N个信息框中的每个信息框拖动到上述目标页面中对应的信息输入区域,以触发终端设备在该信息输入区域显示该信息框中的文本信息。Optionally, in this embodiment of the present invention, when the above-mentioned second input is the user's dragging input to the above-mentioned N information boxes, the user may drag each information box in the N information boxes to the above-mentioned target page. corresponding information input area to trigger the terminal device to display the text information in the information box in the information input area.

示例性的,本发明实施例中,上述S204具体可以通过下述的S204a实现。Exemplarily, in this embodiment of the present invention, the foregoing S204 may be specifically implemented by the following S204a.

S204a、终端设备响应于第二输入,针对N个信息框中的每个信息框,在目标页面中的一个信息输入区域,显示一个信息框中的文本信息。S204a: In response to the second input, the terminal device displays text information in an information box in an information input area in the target page for each information box in the N information boxes.

其中,上述一个信息输入区域可以为与用户拖动上述一个信息框的输入对应的信息输入区域。The above-mentioned one information input area may be an information input area corresponding to the user's input of dragging the above-mentioned one information box.

本发明实施例中,以上述N个信息框中的一个信息框为例,用户可以通过对该信息框的拖动输入(即上述第二输入),触发终端设备将该信息框中的文本信息显示在目标页面中的用户将该信息框拖动到的该信息输入区域(即上述与用户拖动一个信息框的输入对应的信息输入区域)。In the embodiment of the present invention, taking one information box in the above N information boxes as an example, the user can trigger the terminal device to input the text information in the information box by dragging the information box (ie, the above-mentioned second input). The information input area displayed on the target page to which the user drags the information box (that is, the above-mentioned information input area corresponding to the input of the user dragging an information box).

需要说明的是,本发明实施例中,上述终端设备在目标页面中显示信息框中的文本信息是以一个信息框为例进行说明的,具体实现时,用户可以通过对上述N个信息框中的每个信息框的拖动输入(即上述第二输入),触发终端设备在目标页面中与拖动每个信息框的输入对应的信息输入区域显示每个信息框中的文本信息,以使得终端设备在上述至少一个信息输入区域中显示该N个信息框中的文本信息。It should be noted that, in this embodiment of the present invention, the text information displayed in the information box by the terminal device on the target page is described by taking an information box as an example. The dragging input of each information box (that is, the above-mentioned second input) triggers the terminal device to display the text information in each information box in the information input area corresponding to the input of dragging each information box in the target page, so that The terminal device displays the text information in the N information boxes in the at least one information input area.

示例性的,本发明实施例中,以一个信息框为例,假设该信息框中的文本信息属于信息类型“地址”,且该信息框中的文本信息为“A省B市C区”,以及上述第二输入为用户将该信息框拖动到目标页面上区域标识“地址”指示的信息输入区域。当用户触发上述第二输入,即终端设备接收到用户对信息框(显示文本信息“A省B市C区”的信息框)的拖动输入时,终端设备响应于该第二输入,如图7中的(a)所示,终端设备首先显示页面1(即上述目标页面),用户继续拖动该信息框,如图7中的(b)所示,当用户将该信息框拖动到区域标识“地址”指示的信息输入区域中时,如图7中的(c)所示,终端设备可以在该信息输入区域中显示该信息框中的文本信息“A省B市C区”。Exemplarily, in the embodiment of the present invention, taking an information box as an example, it is assumed that the text information in the information box belongs to the information type "address", and the text information in the information box is "A, Province, B, City, and District C", And the above-mentioned second input is that the user drags the information box to the information input area indicated by the area identifier "address" on the target page. When the user triggers the above-mentioned second input, that is, when the terminal device receives the user's drag input on the information box (the information box displaying the text information "A province, B city, C area"), the terminal device responds to the second input, as shown in the figure As shown in (a) in Figure 7, the terminal device first displays page 1 (that is, the above target page), and the user continues to drag the information box, as shown in (b) in Figure 7, when the user drags the information box to the When the information input area indicated by the area identifier "address" is entered, as shown in (c) in FIG.

本发明实施例中,用户可以根据上述目标页面中的信息输入区域需要输入的文本信息,将上述N个信息框拖动到该目标页面中对应的信息输入区域,以使得终端设备上述至少一个信息输入位置中显示该N个信息框中的文本信息,从而可以提高终端设备在上述至少一个信息输入位置中显示该N个信息框中的文本信息的准确率。In this embodiment of the present invention, the user may drag the above N information boxes to the corresponding information input area in the target page according to the text information that needs to be input in the information input area in the above target page, so that the terminal device has at least one information The text information in the N information boxes is displayed in the input position, so that the accuracy of displaying the text information in the N information boxes in the at least one information input position by the terminal device can be improved.

可选的,本发明实施例中,上述目标页面中可以包括至少一个信息输入区域,其中一个信息输入区域用于显示至少一种信息类型的文本信息。终端设备响应于上述第二输入,可以根据该N个信息框中的文本信息所属的信息类型,在该目标页面中与该文本信息所属的信息类型对应的信息输入区域(可以为至少一个信息输入区域)显示该N个信息框中的文本信息。Optionally, in this embodiment of the present invention, the target page may include at least one information input area, wherein one information input area is used to display text information of at least one information type. In response to the above-mentioned second input, the terminal device may, according to the information type to which the text information in the N information boxes belongs, in the target page, the information input area (which may be at least one information input area) corresponding to the information type to which the text information belongs. area) to display the text information in the N information boxes.

示例性的,本发明实施例中,上述S204具体可以通过下述的S204b实现。Exemplarily, in this embodiment of the present invention, the foregoing S204 may be specifically implemented by the following S204b.

S204b、终端设备响应于第二输入,按照N个信息框中的文本信息所属的信息类型,在至少一个信息输入区域中显示该N个信息框中的文本信息。S204b. In response to the second input, the terminal device displays the text information in the N information boxes in at least one information input area according to the information type to which the text information in the N information boxes belongs.

其中,一个信息输入区域用于输入至少一种信息类型的文本信息。Wherein, an information input area is used for inputting text information of at least one information type.

本发明实施例中,终端设备响应于用户对上述N个信息框的第二输入,可以根据该N个信息框中的文本信息所属的信息类型,在上述目标页面中对应的信息输入区域中显示上述N个信息框中的文本信息。In this embodiment of the present invention, in response to the user's second input to the N information boxes, the terminal device may display the information in the corresponding information input area on the target page according to the information type to which the text information in the N information boxes belongs. Text information in the above N information boxes.

可选的,本发明实施例中,上述信息输入区域显示的文本信息所属的信息类型可以根据该信息输入区域的区域标识确定。Optionally, in this embodiment of the present invention, the information type to which the text information displayed in the information input area belongs may be determined according to the area identifier of the information input area.

可选的,本发明实施例中,一个信息输入区域可以对应至少一个区域标识。Optionally, in this embodiment of the present invention, one information input area may correspond to at least one area identifier.

可选的,本发明实施例中,上述至少一个区域标识中的每个区域标识可以用于指示一种信息类型。Optionally, in this embodiment of the present invention, each area identifier in the at least one area identifier may be used to indicate an information type.

可选的,本发明实施例中,上述区域标识可以为文本标识,例如“姓名”、“性别”等,也可以为图像标识,例如可以指示姓名、性别等信息类型的图像。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the area identifier may be a text identifier, such as "name", "gender", etc., or an image identifier, such as an image that can indicate information types such as name and gender. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

示例性的,本发明实施例中,如果某一信息输入区域对应的区域标识为文本标识“姓名”,那么该信息输入区域可以用于输入一种信息类型的文本信息(即信息类型“姓名”对应的文本信息);如果某一信息输入区域对应的区域标识为文本标识“姓名和年龄”,那么该信息输入区域可以用于输入两种信息类型的文本信息(即信息类型“姓名”对应的文本信息和信息类型“年龄”对应的文本信息)。Exemplarily, in this embodiment of the present invention, if the area identifier corresponding to a certain information input area is a text identifier "name", then the information input area can be used to input text information of an information type (that is, the information type "name"). Corresponding text information); if the area identifier corresponding to a certain information input area is the text identifier "name and age", then the information input area can be used to input text information of two information types (that is, the corresponding information type "name" text information and text information corresponding to the information type "age").

下面结合图8,对本发明实施例中上述的S204b再进行示例性的说明。The above-mentioned S204b in the embodiment of the present invention will be further exemplarily described below with reference to FIG. 8 .

示例性的,如图8所示,为本发明实施例提供的一种在目标页面显示上述N个信息框中的文本信息的示意图。如图8中的(a)所示,终端设备显示3个信息框(即上述M个信息框),该3个信息框中的文本信息对应3中信息类型,分别为:姓名、性别、地址;如图8中的(b)所示,上述目标页面中包括3个信息输入区域,每个信息输入区域用于输入一种信息类型的文本信息(分别为姓名、性别、地址);当终端设备接收到用户对这3个信息框(即上述N个信息框)的第二输入时,终端设备响应于该第二输入,如图8中的(c)所示,终端设备可以在该目标页面中的3个信息输入区域中分别显示与该信息输入区域对应的信息框中的文本信息(即每个信息输入区域对应的信息类型与输入到该信息输入区域中的文本信息所属的信息类型相同)。Exemplarily, as shown in FIG. 8 , it is a schematic diagram of displaying text information in the above N information boxes on a target page according to an embodiment of the present invention. As shown in (a) of Figure 8, the terminal device displays 3 information boxes (that is, the above-mentioned M information boxes), and the text information in the 3 information boxes corresponds to the 3 information types, namely: name, gender, address ; As shown in (b) in Figure 8, above-mentioned target page includes 3 information input areas, and each information input area is used to input the text information of a kind of information type (name, gender, address respectively); When terminal When the device receives the second input from the user to the three information boxes (that is, the above N information boxes), the terminal device responds to the second input, as shown in (c) in FIG. The three information input areas on the page respectively display the text information in the information box corresponding to the information input area (that is, the information type corresponding to each information input area and the information type to which the text information input into the information input area belongs). same).

本发明实施例中,终端设备可以按照上述N个信息框中的文本信息所属的信息类型,在上述目标页面中对应的信息输入区域(即上述至少一个信息输入区域)中显示该N个信息框中的文本信息,如此,可以提高终端设备在目标页面显示上述N个信息框中的文本信息的准确率。In this embodiment of the present invention, the terminal device may display the N information boxes in the corresponding information input area (that is, the at least one information input area) in the above-mentioned target page according to the information type to which the text information in the above-mentioned N information boxes belongs. In this way, the accuracy of displaying the text information in the above N information boxes on the target page by the terminal device can be improved.

本发明实施例提供一种信息显示方法,由于用户可以通过上述第一输入触发终端设备获取并显示图像中的文本信息,并且用户可以通过对某些文本信息的第二输入触发终端设备将这些文本信息输入到某个页面中的信息输入区域,即使得这些文本信息显示在该信息输入区域。如此,当用户通过终端设备将一张图像中的信息输入到某一页面时,用户通过两次输入,即可触发终端设备将该图像中的信息输入到该页面中,从而可以简化用户通过终端设备在页面中输入图像中的信息的步骤。An embodiment of the present invention provides an information display method, because the user can trigger the terminal device to acquire and display text information in the image through the first input, and the user can trigger the terminal device to display the text information through the second input of some text information. Information is entered into the information input area of a page, that is, the text information is displayed in the information input area. In this way, when the user inputs the information in an image into a certain page through the terminal device, the user can trigger the terminal device to input the information in the image into the page through two inputs, thus simplifying the user through the terminal Steps in which the device enters the information in the image in the page.

可选的,本发明实施例中,上述目标页面可以为与上述第一图像关联(即该目标页面中的信息输入区域中输入的内容可以通过该第一图像得到)的页面。该目标页面中可以包括M个信息输入区域(M为大于或等于2的整数),且该M个信息输入区域中的不同信息输入区域通过不同区域标识(不同区域标识对应不同信息类型)指示,即上述M个信息输入区域用于输入不同信息类型的文本信息。当终端设备接收到用户的第一输入时,终端设备响应于上述第一输入,可以按照M个区域标识在目标页面中的排列顺序,显示上述M个信息框,即该M个信息框的排列顺序可以与该M个区域标识在目标页面中的排列顺序相同。Optionally, in this embodiment of the present invention, the target page may be a page associated with the first image (that is, the content input in the information input area in the target page can be obtained through the first image). The target page may include M information input areas (M is an integer greater than or equal to 2), and different information input areas in the M information input areas are indicated by different area identifiers (different area identifiers correspond to different information types), That is, the above-mentioned M information input areas are used for inputting text information of different information types. When the terminal device receives the first input from the user, in response to the first input, the terminal device may display the above-mentioned M information boxes according to the arrangement order of the M area identifiers in the target page, that is, the arrangement of the M information boxes The order may be the same as the arrangement order of the M area identifiers in the target page.

示例性的,本发明实施例中,上述S202具体可以通过下述的S202d实现,上述S203具体可以通过下述的S203a实现,上述S204具体可以通过下述的S204c实现。Exemplarily, in this embodiment of the present invention, the above S202 may be specifically implemented by the following S202d, the above S203 may be specifically implemented by the following S203a, and the above S204 may be specifically implemented by the following S204c.

S202d、终端设备响应于第一输入,按照指示M个信息输入区域的M个区域标识在目标页面中的排列顺序,显示M个信息框。S202d. In response to the first input, the terminal device displays M information boxes according to the arrangement order of the M area identifiers indicating the M information input areas in the target page.

其中,每个信息框中的文本信息所属的信息类型与上述M个区域标识中的一个区域标识对应的信息类型相同。The information type to which the text information in each information box belongs is the same as the information type corresponding to one of the above-mentioned M area identifiers.

本发明实施例中,若上述目标页面与上述第一图像关联,且该目标页面中包括至少M个信息输入区域,以及不同信息输入区域用不同区域标识(不同区域标识对应不同信息类型)指示,则终端设备可以按照M个区域标识在该目标页面中的排列顺序,显示上述M个信息框。In this embodiment of the present invention, if the above-mentioned target page is associated with the above-mentioned first image, and the target page includes at least M information input areas, and different information input areas are indicated by different area identifiers (different area identifiers correspond to different information types), Then, the terminal device may display the above-mentioned M information boxes according to the arrangement order of the M area identifiers in the target page.

可以理解,本发明实施例中,上述M个区域标识对应的信息类型与上述M个信息框中的文本信息所属的信息类型相同。It can be understood that, in this embodiment of the present invention, the information type corresponding to the above M area identifiers is the same as the information type to which the text information in the above M information boxes belongs.

本发明实施例中,上述M个信息框中的每个信息框中可以显示一条文本信息。In this embodiment of the present invention, each of the above-mentioned M information boxes may display a piece of text information.

示例性的,本发明实施例中,假设上述目标页面与上述第一图像关联,如图9中的(a)所示,上述目标页面包括3个信息输入区域,这3个信息输入区域分别通过区域标识“姓名”、“地址”和“电话”指示,且这3个区域标识在目标页面的排列顺序为“姓名”、“地址”、“电话”;如图9中的(b)所示,上述目标选取框51截取的上述目标区域的图像中的文本信息对应3种信息类型,这3种信息类型分别为“地址”、“电话”、“姓名”,并在终端设备截取该目标区域的图像之后,识别该目标区域的图像中的文本信息,并根据这些文本信息对应的信息类型的数量(即上述目标数量),生成与该目标数量相同数量的信息框,以及按照如图9中的(a)所示的3个区域标识在目标页面的排列顺序,在图9中的(c)中显示这3个信息框,即通过这3个信息框显示这些文本信息。Exemplarily, in this embodiment of the present invention, it is assumed that the above-mentioned target page is associated with the above-mentioned first image. As shown in (a) of FIG. 9 , the above-mentioned target page includes 3 information input areas, and these 3 information input areas pass through The area identifiers "name", "address" and "telephone" are indicated, and the arrangement order of these three area identifiers on the target page is "name", "address", "telephone"; as shown in (b) in Figure 9 , the text information in the image of the above-mentioned target area intercepted by the above-mentioned target marquee 51 corresponds to 3 types of information, and these 3 types of information are respectively "address", "telephone" and "name", and the target area is intercepted in the terminal device After the image, identify the text information in the image of the target area, and generate the same number of information boxes as the target number according to the number of information types corresponding to the text information (that is, the above target number), and as shown in Figure 9 The 3 areas shown in (a) of FIG. 9 identify the arrangement order on the target page, and the 3 information boxes are displayed in (c) of FIG. 9 , that is, the text information is displayed through the 3 information boxes.

S203a、终端设备接收用户对该M个信息框中的一个信息框的第二输入。S203a. The terminal device receives a second input from the user for one information box among the M information boxes.

S204c、终端设备响应于该第二输入,在目标页面中的M个信息输入区域中,依次显示该M个信息框中的文本信息。S204c: In response to the second input, the terminal device sequentially displays the text information in the M information boxes in the M information input areas in the target page.

本发明实施例中,在终端设备按照指示上述M个信息输入区域的M个区域标识在上述目标页面中的排列顺序,显示上述M个信息框之后,用户可以通过上述第二输入,触发终端设备在上述目标页面中的M个信息输入区域中依次显示该M个信息框中的文本信息。In this embodiment of the present invention, after the terminal device displays the M information boxes according to the order in which the M area identifiers indicating the M information input areas are arranged in the target page, the user can trigger the terminal device through the second input. The text information in the M information boxes is displayed in sequence in the M information input areas in the above target page.

可以理解,本发明实施例中,上述M个信息框为一个整体,用户只需要对该M个信息框中的一个信息框输入,即可触发终端设备对M个信息框操作。具体的,可以触发终端设备按照该M个信息框的显示顺序,在上述目标页面中的M个信息输入区域依次显示该M个信息框。It can be understood that, in this embodiment of the present invention, the above-mentioned M information boxes are a whole, and the user only needs to input one of the M information boxes to trigger the terminal device to operate on the M information boxes. Specifically, the terminal device can be triggered to sequentially display the M information boxes in the M information input areas in the target page according to the display order of the M information boxes.

本发明实施例中,当M大于或等于2时,在上述第一图像与上述目标页面关联的情况下,终端设备可以根据该目标页面中的区域标识的排列顺序显示上述M个信息框,如此,用户通过对该M个信息框中的一个信息框的第二输入,即可触发终端设备在上述目标页面中的M个信息输入区域依次显示该M个信息框中的文本信息,从而可以简化用户通过终端设备在页面中输入图像中的信息的步骤。In this embodiment of the present invention, when M is greater than or equal to 2, in the case that the above-mentioned first image is associated with the above-mentioned target page, the terminal device can display the above-mentioned M information boxes according to the arrangement order of the area identifiers in the target page, so that , the user can trigger the terminal device to sequentially display the text information in the M information boxes in the M information input areas in the above-mentioned target page through the second input of one of the M information boxes, thereby simplifying the The step of the user inputting the information in the image in the page through the terminal device.

需要说明的是,本发明实施例中,上述各个附图所示的信息显示方法均是以结合本发明实施例中的一个附图为例示例性的说明的。具体实现时,上述各个附图所示的信息显示方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present invention, the information display methods shown in the above figures are all illustratively described by taking a figure in the embodiments of the present invention as an example. During specific implementation, the information display methods shown in the above-mentioned respective drawings can also be implemented in combination with any other drawings shown in the above-mentioned embodiments that can be combined, and details are not described herein again.

如图10所示,本发明实施例提供一种终端设备1000,该终端设备1000包括接收模块1001和显示模块1002。接收模块1001,用于接收用户对第一图像的第一输入;显示模块1002,用于响应于接收模块1001接收的第一输入,显示M个信息框;接收模块1001,还用于接收用户对显示模块1002显示的M个信息框中的N个信息框的第二输入;显示模块1002,还用于响应于接收模块1001接收的第二输入,在目标页面中的至少一个信息输入区域中,显示N个信息框中的文本信息。其中,第一图像中包括文本信息,M个信息框中的每个信息框包括至少一条文本信息,不同信息框中的文本信息不同,每个信息框中的文本信息为该第一图像中的文本信息,M为正整数,N为小于或等于M的正整数。As shown in FIG. 10 , an embodiment of the present invention provides a terminal device 1000 , where the terminal device 1000 includes a receiving module 1001 and a display module 1002 . The receiving module 1001 is used to receive the first input of the first image from the user; the display module 1002 is used to display M information boxes in response to the first input received by the receiving module 1001; the receiving module 1001 is also used to receive the user's The second input of the N information boxes in the M information boxes displayed by the display module 1002; the display module 1002 is further configured to respond to the second input received by the receiving module 1001, in at least one information input area in the target page, Display text information in N information boxes. The first image includes text information, each information box in the M information boxes includes at least one piece of text information, the text information in different information boxes is different, and the text information in each information box is the one in the first image. Text information, M is a positive integer, and N is a positive integer less than or equal to M.

可选的,结合图10,如图11所示,终端设备1000还包括识别模块1003。显示模块1002,还用于在显示M个信息框之前,在第一图像中的目标区域显示目标选取框;识别模块1003,用于识别显示模块1002显示的目标选取框截取的目标区域的图像中的文本信息。其中,该目标选取框用于截取该目标区域的图像,该目标区域中包括文本信息,该M个信息框中的文本信息为该目标区域的图像中的文本信息。Optionally, with reference to FIG. 10 , as shown in FIG. 11 , the terminal device 1000 further includes an identification module 1003 . The display module 1002 is also used to display the target marquee in the target area in the first image before displaying the M information boxes; the identification module 1003 is used to identify the image of the target area intercepted by the target marquee displayed by the display module 1002 text information. Wherein, the target selection frame is used to intercept the image of the target area, the target area includes text information, and the text information in the M information frames is the text information in the image of the target area.

可选的,M个信息框中的不同信息框对应不同的信息类型,一个信息框中的文本信息属于同一种信息类型。Optionally, different information boxes in the M information boxes correspond to different information types, and the text information in one information box belongs to the same information type.

可选的,第二输入为对N个信息框的拖动输入;显示模块1002,具体用于针对N个信息框中的每个信息框,在目标页面中的一个信息输入区域,显示一个信息框中的文本信息。其中,该一个信息输入区域为与拖动该一个信息框的输入对应的信息输入区域。Optionally, the second input is a drag input to the N information boxes; the display module 1002 is specifically configured to display an information in an information input area in the target page for each information box in the N information boxes text information in the box. Wherein, the one information input area is an information input area corresponding to the input of dragging the one information box.

可选的,显示模块1002,具体用于按照N个信息框中的文本信息所属的信息类型,在至少一个信息输入区域中显示该N个信息框中的文本信息;其中,一个信息输入区域用于输入至少一种信息类型的文本信息。Optionally, the display module 1002 is specifically configured to display the text information in the N information boxes in at least one information input area according to the information type to which the text information in the N information boxes belongs; for entering textual information of at least one type of information.

可选的,至少一个信息输入区域的数量为M个,M个信息输入区域中的不同信息输入区域通过不同区域标识指示,不同区域标识对应不同信息类型,目标页面为与第一图像关联的页面,M为大于或等于2的整数;显示模块1002,具体用于按照指示该M个信息输入区域的M个区域标识在该目标页面中的排列顺序,显示该M个信息框,每个信息框中的文本信息所属的信息类型与该M个区域标识中的一个区域标识对应的信息类型相同。Optionally, the number of at least one information input area is M, and different information input areas in the M information input areas are indicated by different area identifiers, and different area identifiers correspond to different information types, and the target page is the page associated with the first image. , M is an integer greater than or equal to 2; the display module 1002 is specifically configured to display the M information boxes according to the order in which the M area identifiers indicating the M information input areas are arranged in the target page, each information box The information type to which the text information in is the same as the information type corresponding to one of the M area identifiers.

本发明实施例提供的终端设备能够实现上述信息显示方法实施例中终端设备执行的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。The terminal device provided by the embodiment of the present invention can implement each process performed by the terminal device in the above information display method embodiment, and can achieve the same technical effect. To avoid repetition, details are not repeated here.

本发明实施例提供一种终端设备,由于用户可以通过上述第一输入触发终端设备获取并显示图像中的文本信息,并且用户可以通过对某些文本信息的第二输入触发终端设备将这些文本信息输入到某个页面中的信息输入区域,即使得这些文本信息显示在该信息输入区域。如此,当用户通过终端设备将一张图像中的信息输入到某一页面时,用户通过两次输入,即可触发终端设备将该图像中的信息输入到该页面中,从而可以简化用户通过终端设备在页面中输入图像中的信息的步骤。An embodiment of the present invention provides a terminal device, because a user can trigger the terminal device to acquire and display text information in an image through the above-mentioned first input, and the user can trigger the terminal device to display some text information through a second input of some text information. Enter into the information input area of a page, that is, make the text information displayed in the information input area. In this way, when the user inputs the information in an image into a certain page through the terminal device, the user can trigger the terminal device to input the information in the image into the page through two inputs, thus simplifying the user through the terminal Steps in which the device enters the information in the image in the page.

图12为实现本发明各个实施例的一种终端设备的硬件示意图。如图12所示,终端设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图12中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 12 is a schematic diagram of hardware of a terminal device implementing various embodiments of the present invention. As shown in FIG. 12 , the terminal device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, The processor 110, the power supply 111 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 12 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than the one shown, or combine some components, or different components layout. In the embodiment of the present invention, the terminal device includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

用户输入单元107,用于接收用户对第一图像的第一输入;显示单元106,用于响应于用户输入单元107接收的第一输入,显示M个信息框;用户输入单元107,还用于接收用户对该M个信息框中的N个信息框的第二输入;显示单元106,还用于响应于用户输入单元107接收的第二输入,在目标页面中的至少一个信息输入区域中,显示该N个信息框中的文本信息。其中,该第一图像中包括文本信息,该M个信息框中的每个信息框包括至少一条文本信息,不同信息框中的文本信息不同,每个信息框中的文本信息为该第一图像中的文本信息,M为正整数,N为小于或等于M的正整数。The user input unit 107 is used for receiving the first input of the user to the first image; the display unit 106 is used for displaying M information boxes in response to the first input received by the user input unit 107; the user input unit 107 is also used for Receive the second input from the user for the N information boxes in the M information boxes; the display unit 106 is further configured to respond to the second input received by the user input unit 107, in at least one information input area in the target page, Display the text information in the N information boxes. Wherein, the first image includes text information, each information box in the M information boxes includes at least one piece of text information, the text information in different information boxes is different, and the text information in each information box is the first image The text information in , M is a positive integer, and N is a positive integer less than or equal to M.

本发明实施例提供一种终端设备,由于用户可以通过上述第一输入触发终端设备获取并显示图像中的文本信息,并且用户可以通过对某些文本信息的第二输入触发终端设备将这些文本信息输入到某个页面中的信息输入区域,即使得这些文本信息显示在该信息输入区域。如此,当用户通过终端设备将一张图像中的信息输入到某一页面时,用户通过两次输入,即可触发终端设备将该图像中的信息输入到该页面中,从而可以简化用户通过终端设备在页面中输入图像中的信息的步骤。An embodiment of the present invention provides a terminal device, because a user can trigger the terminal device to acquire and display text information in an image through the above-mentioned first input, and the user can trigger the terminal device to display some text information through a second input of some text information. Enter into the information input area of a page, that is, make the text information displayed in the information input area. In this way, when the user inputs the information in an image into a certain page through the terminal device, the user can trigger the terminal device to input the information in the image into the page through two inputs, thus simplifying the user through the terminal Steps in which the device enters the information in the image in the page.

应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals in the process of sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 110; The uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.

终端设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides the user with wireless broadband Internet access through the network module 102, such as helping the user to send and receive emails, browse web pages, and access streaming media.

音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.

输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processor (graphics processing unit, GPU) 1041 and a microphone 1042. The graphics processor 1041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102 . The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.

终端设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and the display panel 1061 when the terminal device 100 moves to the ear. / or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 105 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 1071). operate). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.

进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图12中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be covered on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch The type of event provides corresponding visual output on display panel 1061 . Although in FIG. 12 , the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the terminal device, but in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated The input and output functions of the terminal device are implemented, which is not specifically limited here.

接口单元108为外部装置与终端设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备100内的一个或多个元件或者可以用于在终端设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device to the terminal device 100 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 may be used to receive input from external devices (eg, data information, power, etc.) and transmit the received input to one or more elements within the terminal device 100 or may be used between the terminal device 100 and external Transfer data between devices.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器110是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the terminal device, uses various interfaces and lines to connect various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 109, and calls the data stored in the memory 109. , perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The modulation processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .

终端设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to various components. Optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system management and other functions.

另外,终端设备100包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 100 includes some unshown functional modules, which will not be repeated here.

可选的,本发明实施例还提供一种终端设备,包括如图12所示的处理器110,存储器109,存储在存储器109上并可在处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides a terminal device, including a processor 110 as shown in FIG. 12 , a memory 109 , a computer program stored in the memory 109 and executable on the processor 110 , the computer program being When executed by the processor 110, each process of the above-mentioned information display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above information display method embodiment is implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (14)

1. a kind of information display method is applied to terminal device, which is characterized in that the described method includes:
First input of the user to the first image is received, includes text information in the first image;
In response to first input, M message box is shown, each message box in the M message box includes at least one Text information, the text information in different message boxes is different, and the text information in each message box is the first image In text information, M is positive integer;
Second input of the user to N number of message box in the M message box is received, N is the positive integer less than or equal to M;
In response to second input, at least one information input area in target pages, N number of message box is shown In text information.
2. the method according to claim 1, wherein the method is also wrapped before described M message box of display It includes:
Target area displaying target marquee in the first image, the Object selection frame is for intercepting the target area The image in domain includes text information in the target area;
Identify the text information in the image of the target area;
Wherein, the text information in the M message box is the text information in the image of the target area.
3. the method according to claim 1, wherein the different message boxes in the M message box are corresponding different Information type, the text information in a message box belongs to same information type.
4. according to the method described in claim 3, it is characterized in that, second input is the dragging to N number of message box Input;
The text information in each message box in N number of message box is shown by following steps:
For each message box, an information input area in the target pages is shown in a message box Text information, one information input area are information input area corresponding with the input for dragging one message box.
5. according to the method described in claim 3, it is characterized in that, described at least one information input area in target pages In domain, the text information in N number of message box is shown, comprising:
According to information type belonging to the text information in N number of message box, at least one described information input area Show the text information in N number of message box;
Wherein, an information input area is used to input the text information of at least one information type.
6. the method according to claim 1, wherein the quantity of at least one information input area is M, Different information input areas in M information input area are identified by different zones to be indicated, different zones mark is corresponding different Information type, the target pages be with the associated page of the first image, M is integer more than or equal to 2;
Described M message box of display, comprising:
M area identification the putting in order in the target pages of the M information input area as indicated shows institute State M message box, information type belonging to the text information in each message box and a region in the M area identification It is identical to identify corresponding information type.
7. a kind of terminal device, which is characterized in that including receiving module and display module;
The receiving module includes text information in the first image for receiving first input of the user to the first image;
The display module, for showing M message box, the M in response to received first input of the receiving module Each message box in a message box includes at least one text information, and the text information in different message boxes is different, described every Text information in a message box is the text information in the first image, and M is positive integer;
The receiving module is also used to receive N number of message box in the M message box that user shows the display module The second input, N is positive integer less than or equal to M;
The display module is also used in response to received second input of the receiving module, in target pages extremely In a few information input area, the text information in N number of message box is shown.
8. terminal device according to claim 7, which is characterized in that the terminal device further includes identification module;
The display module is also used to before showing the M message box, and the target area in the first image is shown Object selection frame, the Object selection frame are used to intercept the image of the target area, include text envelope in the target area Breath;
The identification module, the image of the target area for the Object selection frame interception that the display module is shown for identification In text information;
Wherein, the text information in the M message box is the text information in the image of the target area.
9. terminal device according to claim 7, which is characterized in that the different message boxes in the M message box are corresponding Different information types, the text information in a message box belong to same information type.
10. terminal device according to claim 9, which is characterized in that second input is to N number of message box Dragging input;
The display module, specifically for for each message box in N number of message box, in the target pages one A information input area, shows the text information in a message box, and one information input area is and dragging described one The corresponding information input area of the input of a message box.
11. terminal device according to claim 9, which is characterized in that the display module is specifically used for according to the N Information type belonging to text information in a message box shows N number of letter at least one described information input area Cease the text information in frame;
Wherein, an information input area is used to input the text information of at least one information type.
12. terminal device according to claim 7, which is characterized in that the quantity of at least one information input area It is M, the different information input areas in M information input area are identified by different zones to be indicated, different zones mark pair Answer different information types, the target pages be with the associated page of the first image, M is the integer more than or equal to 2;
The display module, specifically for the M information input area as indicated M area identification in the page object Putting in order in face shows the M message box, information type belonging to the text information in each message box and the M The corresponding information type of an area identification in a area identification is identical.
13. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is executed by the processor Any one of described in information display method the step of.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence is realized when the computer program is executed by processor such as information display method described in any one of claims 1 to 6 Step.
CN201910183597.0A 2019-03-12 2019-03-12 Information display method and terminal device Active CN110045897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910183597.0A CN110045897B (en) 2019-03-12 2019-03-12 Information display method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910183597.0A CN110045897B (en) 2019-03-12 2019-03-12 Information display method and terminal device

Publications (2)

Publication Number Publication Date
CN110045897A true CN110045897A (en) 2019-07-23
CN110045897B CN110045897B (en) 2021-06-15

Family

ID=67274659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910183597.0A Active CN110045897B (en) 2019-03-12 2019-03-12 Information display method and terminal device

Country Status (1)

Country Link
CN (1) CN110045897B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947826A (en) * 2021-01-28 2021-06-11 维沃移动通信有限公司 Information acquisition method and device and electronic equipment
CN113239660A (en) * 2021-04-29 2021-08-10 维沃移动通信(杭州)有限公司 Text display method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103713807A (en) * 2014-01-13 2014-04-09 联想(北京)有限公司 Method and device for processing information
CN104252492A (en) * 2013-06-28 2014-12-31 宏碁股份有限公司 Data search method and its electronic device
CN104267804A (en) * 2014-09-15 2015-01-07 联想(北京)有限公司 Information input method and electronic device
CN106909270A (en) * 2016-07-20 2017-06-30 阿里巴巴集团控股有限公司 Chat data input method, device and communicating terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252492A (en) * 2013-06-28 2014-12-31 宏碁股份有限公司 Data search method and its electronic device
CN103713807A (en) * 2014-01-13 2014-04-09 联想(北京)有限公司 Method and device for processing information
CN104267804A (en) * 2014-09-15 2015-01-07 联想(北京)有限公司 Information input method and electronic device
CN106909270A (en) * 2016-07-20 2017-06-30 阿里巴巴集团控股有限公司 Chat data input method, device and communicating terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947826A (en) * 2021-01-28 2021-06-11 维沃移动通信有限公司 Information acquisition method and device and electronic equipment
CN112947826B (en) * 2021-01-28 2024-05-10 维沃移动通信有限公司 Information acquisition method and device and electronic equipment
CN113239660A (en) * 2021-04-29 2021-08-10 维沃移动通信(杭州)有限公司 Text display method and device and electronic equipment

Also Published As

Publication number Publication date
CN110045897B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN110855830A (en) An information processing method and electronic device
CN110891144A (en) Image display method and electronic equipment
CN109543099B (en) Content recommendation method and terminal equipment
CN110750188A (en) A message display method and electronic device
CN109871164B (en) Message sending method and terminal equipment
CN110058754A (en) A kind of option display method and terminal device
CN109829707B (en) Interface display method and terminal device
CN110764666A (en) Display control method and electronic equipment
CN110703972A (en) A file control method and electronic device
CN110209323A (en) A kind of method and terminal device showing unread message
CN108614725B (en) Interface display method and terminal
CN110752981A (en) An information control method and electronic device
CN110012152A (en) A kind of interface display method and terminal device
CN109976611A (en) The control method and terminal device of terminal device
WO2021093766A1 (en) Message display method, and electronic apparatus
CN108874906A (en) A kind of information recommendation method and terminal
CN111352547A (en) Display method and electronic equipment
CN111459382A (en) Touch input method and electronic equipment
CN110502936A (en) The display methods and terminal device of privacy information
CN110196664A (en) Control method and terminal device
CN110058911A (en) A kind of application control method and terminal device
CN109981442A (en) Method for sending information and terminal device
CN111090529B (en) Method and electronic device for sharing information
CN110209324B (en) A display method and terminal device
CN108418954A (en) A kind of method for information display and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant