CN105630959B - Text information display method and electronic equipment - Google Patents

Text information display method and electronic equipment Download PDF

Info

Publication number
CN105630959B
CN105630959B CN201510983257.8A CN201510983257A CN105630959B CN 105630959 B CN105630959 B CN 105630959B CN 201510983257 A CN201510983257 A CN 201510983257A CN 105630959 B CN105630959 B CN 105630959B
Authority
CN
China
Prior art keywords
information
text
display area
text information
message
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.)
Active
Application number
CN201510983257.8A
Other languages
Chinese (zh)
Other versions
CN105630959A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510983257.8A priority Critical patent/CN105630959B/en
Publication of CN105630959A publication Critical patent/CN105630959A/en
Application granted granted Critical
Publication of CN105630959B publication Critical patent/CN105630959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a text display method and electronic equipment, which are used for solving the technical problem of complex operation when the content of voice input is modified. The method comprises the following steps: receiving first voice information input by a user; recognizing the first voice information to generate at least one text message; each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the last receiving of the sub-voice message to the beginning of receiving the next sub-voice message is longer than a first preset time; displaying the at least one text message through a first display area of a display unit; wherein each text information is displayed as a paragraph in the first display area.

Description

Text information display method and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a text information display method and electronic equipment.
Background
The present electronic devices can accept a variety of information input methods, such as inputting through a conventional keyboard and mouse or other input devices, or inputting through voice. When information is input to the electronic equipment through voice, for example, short messages are input through voice, the electronic equipment recognizes the voice input by the user at one time, and can display the recognized characters for the user to view. If the information amount of the voice input by the user at one time is large, the number of the characters displayed by the electronic equipment is correspondingly large, if a place with wrong recognition or a place which the user wants to modify exists, the user needs to sequentially position the cursor to the corresponding position for modification, when the content is large, the cursor is not easy to be accurately positioned, the position to be modified can be positioned by positioning for many times, and the modification process is complex for the user.
Disclosure of Invention
The application provides a text information display method and electronic equipment, which are used for solving the technical problem that operation is complex when the content of voice input is modified.
In a first aspect, a text information display method is provided, which is applied to an electronic device, and includes:
receiving first voice information input by a user;
recognizing the first voice information to generate at least one text message; each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the last receiving of the sub-voice message to the beginning of receiving the next sub-voice message is longer than a first preset time;
displaying the at least one text message through a first display area of a display unit; wherein each text information is displayed as a paragraph in the first display area.
Optionally, after the electronic device displays the at least one text message through the first display area of the display unit, the method further includes:
receiving a first operation aiming at first text information in the at least one text information;
if the information of the first operation is matched with preset operation information for determining that the text information is correct, moving the first text information to a second display area of the display unit; and in the second display area, the text information corresponding to the first voice information is displayed as a paragraph.
Optionally, before moving the first text information to the second display area of the display unit, the method further includes:
arranging the text information in the second display area according to the arrangement sequence of the text information in the first display area; wherein the second display area displays text information of at least one paragraph.
Optionally, the method further includes:
receiving a second operation for at least one character in the second display area;
and if the information of the second operation is matched with the preset operation information for restoring the text information, moving the text information corresponding to the at least one character to the first display area again.
Optionally, after the electronic device displays the at least one text message through the first display area of the display unit, the method further includes:
receiving a third operation aiming at first text information in the at least one text information;
and if the information of the third operation comprises character information, adding the character information into the first text information.
Optionally, after the electronic device displays the at least one text message through the first display area of the display unit, the method further includes:
receiving second voice information input by a user aiming at first text information in the at least one text information;
recognizing the second voice information to generate second text information;
replacing the first text information with the second text information.
Optionally, after the electronic device displays the at least one text message through the first display area of the display unit, the method further includes:
determining that the time length of a second text message in the at least one text message staying in the first display area is greater than a second preset time length;
deleting the second text information from the first display area.
In a second aspect, an electronic device is provided, comprising:
a memory to store instructions;
the receiver is used for receiving first voice information input by a user;
a processor to execute the instructions to:
recognizing the first voice information to generate at least one text message; each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the last receiving of the sub-voice message to the beginning of receiving the next sub-voice message is longer than a first preset time;
displaying the at least one text message through a first display area of a display unit; wherein each text information is displayed as a paragraph in the first display area.
Alternatively to this, the first and second parts may,
the receiver is further configured to: after the processor displays the at least one text message through a first display area of a display unit, receiving a first operation for a first text message in the at least one text message;
the processor is further configured to: if the information of the first operation is matched with preset operation information for determining that the text information is correct, moving the first text information to a second display area of the display unit; and in the second display area, the text information corresponding to the first voice information is displayed as a paragraph.
Optionally, the processor is further configured to:
before moving the first text information to a second display area of the display unit, arranging the text information in the second display area according to the arrangement sequence of the text information in the first display area; wherein the second display area displays text information of at least one paragraph.
Alternatively to this, the first and second parts may,
the receiver is further configured to: receiving a second operation for at least one character in the second display area;
the processor is further configured to: and if the information of the second operation is matched with the preset operation information for restoring the text information, moving the text information corresponding to the at least one character to the first display area again.
Alternatively to this, the first and second parts may,
the receiver is further configured to: after the processor displays the at least one text message through the first display area of the display unit, receiving a third operation for a first text message in the at least one text message;
the processor is further configured to: and if the information of the third operation comprises character information, adding the character information into the first text information.
Alternatively to this, the first and second parts may,
the receiver is further configured to: after the processor displays the at least one text message through the first display area of the display unit, receiving second voice information input by a user for a first text message in the at least one text message;
the processor is further configured to: and recognizing the second voice information to generate second text information, and replacing the first text information with the second text information.
Optionally, the processor is further configured to:
after the processor displays the at least one text message through a first display area of a display unit, determining that the time length of a second text message in the at least one text message staying in the first display area is longer than a second preset time length;
deleting the second text information from the first display area.
In a third aspect, another electronic device is provided, including:
the receiving module is used for receiving first voice information input by a user;
the processing module is used for identifying the first voice information and generating at least one text message; each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the last receiving of the sub-voice message to the beginning of receiving the next sub-voice message is longer than a first preset time;
the processing module is further configured to display the at least one text message through a first display area of a display unit of the electronic device; wherein each text information is displayed as a paragraph in the first display area.
In the application, the electronic device identifies the voice information (for example, referred to as first voice information) input by the user once, and can generate at least one piece of text information, and each piece of text information can be displayed as a paragraph when being displayed, so that the user can clearly and conveniently check the text information.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating a first scenario of an embodiment of the present invention;
FIG. 2 is a diagram illustrating a second scenario of the embodiment of the present invention;
FIG. 3 is a flowchart of a text message display method according to an embodiment of the present invention;
FIGS. 4A-4B are diagrams illustrating moving text messages according to embodiments of the present invention;
FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments that can be obtained by a person skilled in the art based on the embodiments of the present invention without any inventive step belong to the scope of the embodiments of the present invention.
In the embodiments of the present invention, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" generally indicates that the preceding and following related objects are in an "or" relationship, unless otherwise specified.
Alternatively, the electronic device may be a different electronic device such as a Personal Computer (PC), a notebook, a PAD (tablet), and the like.
Alternatively, if the electronic device is considered to have a display unit, the solution of the embodiment of the present invention covers the following two cases:
1. the display unit of the electronic device serves as a display screen of the electronic device, and then the first display area and the second display area are both located on the display screen and are two different areas on the display screen. For example, referring to fig. 1, the electronic device is a PAD, a in fig. 1 indicates a display unit of the PAD, i.e., a display screen of the PAD, B indicates a first display area, and C indicates a second display area.
2. The display unit of the electronic device comprises a first sub-display unit and a second sub-display unit, the first sub-display unit is used as a display screen of the electronic device, the second sub-display unit is used as a display unit for displaying input tools such as a keyboard, and at the moment, the first display area and the second display area are actually located on different sub-display units. Of course, the display unit and the sub-display unit are only called here, for example, the display unit includes a first sub-display unit and a second sub-display unit, and then the first sub-display unit and the second sub-display unit may share a set of hardware resources, or may also use respective hardware resources. For example, referring to fig. 2, the electronic device is a notebook, where a in fig. 2 represents a first sub-display unit, for example, the first sub-display unit is used for displaying a keyboard, a user may complete input by performing touch operation on the keyboard displayed in the first sub-display unit, B represents a first display area in the first sub-display unit, C represents a second sub-display unit, i.e., a display screen of the notebook, and D represents a second display area in the second sub-display unit. Of course, if the first sub-display unit is to display both the keyboard and the text information in the embodiment of the present invention, the keyboard and the text information may be displayed in different display areas in the first sub-display unit.
In any case, the areas and positions of the first display region and the second display region are not limited in the embodiments of the present invention, and fig. 1 and fig. 2 are only examples, and cannot be regarded as limitations on application scenarios of the embodiments of the present invention.
The technical scheme of the embodiment of the invention is described below by combining the accompanying drawings.
Referring to fig. 3, an embodiment of the present invention provides a text information display method, which can be applied to an electronic device, and a flow of the method is described as follows.
Step 301: receiving first voice information input by a user;
step 302: recognizing the first voice information to generate at least one text message;
step 303: displaying at least one text message through a first display area of a display unit; wherein, in the first display area, each text information is displayed as a paragraph.
Each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the end of receiving the last sub-voice message to the beginning of receiving the next sub-voice message is longer than a first preset time.
Alternatively, the user may input the first voice information for an application installed in the electronic device, where the application may be a specific voice input application, such as a WeChat application, or a short message application, or an office application, or an email application, etc., as long as the application can receive the character information.
When the user inputs speech information, the user may not speak only one utterance at a time for consistency, but may generally speak several utterances at a time, i.e., the first speech information may include at least one sub-speech information (it may be understood that one sub-speech information corresponds to one sentence). In the embodiment of the present invention, the electronic device may utilize the habit of a person when recognizing the first speech information, for example, the electronic device may preset a preset time duration, for example, the first preset time duration is called, if the time duration of the pause after a certain voice is input by the user is greater than the first preset time duration, the content before the voice is considered to belong to the previous sub-speech information, and the content after the voice belongs to the next sub-speech information. In this way, the electronic device can not only recognize the first speech information input by the user, but also distinguish how many sentences are included in the first speech information (it can be understood that one sentence corresponds to one text information). Then, when the electronic device displays, different sentences (i.e. different text messages) may be displayed separately, for example, please refer to fig. 3, where a represents the first display area, and it can be seen that 3 text messages are displayed in the first display area, and the electronic device may display each sentence as a paragraph, so that the user can see at a glance when viewing, and can quickly see whether there is an inappropriate place, thereby increasing the speed of inputting information by the user.
When the text information is located in the first display area, the text information is not considered to be finally confirmed, and the user is required to confirm the text information. Optionally, after the electronic device displays the at least one text message through the first display area of the display unit, the user views the at least one text message, for example, the user considers that the first text message therein is not problematic after viewing, the user may perform an operation, for example, referred to as a first operation, on the first text message, after receiving the first operation, the electronic device may determine information of the first operation, and if the information of the first operation matches preset operation information for determining that the text message is correct, the electronic device may move the first text message to the second display area of the display unit. The type of the first operation is not limited in the embodiments of the present invention, for example, the first operation may be a touch operation, such as a user may click (such as may click, double click, or triple click, etc.) on the first text information, or for example, the first operation may be a sliding operation, such as a user may press the first text information to slide upwards (or in any direction), and so on.
For example, referring to fig. 4A, where a represents a first display area, B represents a second display area, and 3 pieces of text information are displayed in the first display area, and the numbers are respectively 1, 2, and 3, where the numbers in fig. 4A are added for convenience of explaining the scene, in practical applications, when the electronic device displays a plurality of pieces of text information in the first display area, the electronic device may sequentially number and display each piece of text information, so as to facilitate the user to view the text information, or for better appearance of the display, the electronic device may display only the text information without displaying the number of the text information, or the electronic device may not number the text information, and may determine the order between the text information in other manners, and so on. For example, the user performs a first operation on the 2 nd text information, for example, the user performs a sliding operation (i.e., a first operation) on the 2 nd text information with a finger, for example, the direction of the sliding of the finger is the direction indicated by the small arrow beside the hand in fig. 4A, and the electronic device may move the 2 nd text information to the second display area, as indicated by the arrow in fig. 4A.
In the second display area, the text information corresponding to the same obtained speech information may be displayed as a paragraph, for example, in the second display area, all the text information corresponding to the first speech information may be displayed as a paragraph. Then the ordering of the text information to be displayed may be involved before displaying the text information in the second display area. Optionally, the text information may be displayed in the first display area according to an order input by the user, and then after moving the text information to the second display area, the text information may also be sorted according to the order of the text information in the first display area. For example, for the text information input at the same time, the text information may be combined into a paragraph according to the sequence of the text information in the first display area, and for the text information input at different times, the text information input at different times may be combined into a paragraph according to the sequence of the text information in the first display area. Or the text information displayed in the second display area may be sorted in other ways, for example, the content displayed in the second display area may be content moved from the first display area, i.e. the content displayed in the second display area, can be considered as the content after the user confirms the text information displayed in the first display area, then the electronic device generally moves the text information from the first display area to the second display area according to the confirmation operation (i.e. the first operation) of the user, then when sorting the text information in the second display area, the ordering may be performed in the order of confirmation by the user, for example, if the electronic device receives the user's confirmation operation for the text information 1 first and then receives the user's confirmation operation for the text information 2 later, the text information 1 may be arranged in front of the text information 2 in the second display area. Of course, the present invention is not limited to the ordering method. The display can be carried out after the sorting is finished, so that the disordered feeling of the user is avoided.
For example, a user inputs 3 pieces of text information through a voice input process, namely text information 1, text information 2 and text information 3, the user determines the text information 1 and the text information 3 first, and moves the text information 1 and the text information 3 to a second display area, the second display area displays the text information 1 and the text information 3, and the display sequence in the second display area is text information 1-text information 3. The user then determines text information 2 again, moves text information 2 to a second display area which displays text information 1, text information 2 and text information 3, and the display order in the second display area is text information 1-text information 2-text information 3, i.e. after the user determines text information 2, the electronic device may reorder the 3 text information in the order in which they were in the first display area, the result of the reordering being text information 1-text information 2-text information 3, and then the electronic device may display the 3 text information in the second display area in that order. The reordering process of the electronic device is very short and hardly perceptible to the user, i.e. after confirming text information 1 and text information 3, text information 1 and text information 3 are automatically moved to the second display area and displayed in the second display area in the order text information 1-text information 3, and subsequently the user confirms text information 2, and then text information 2 is automatically moved to the second display area and displayed in the order text information 1-text information 2-text information 3 in the second display area, i.e. the electronic device inserts text information 2 between text information 1 and text information 3 in the order of the 3 text information in the first display area.
Optionally, after moving the text information to the second display area, if the user wants to move the text information to the first display area again, for example, the user may feel that a large segment of content in the second display area is not easy to edit, or wants to move a certain sentence or several sentences thereof to the first display area to edit, the user may perform an operation (for example, referred to as a second operation) on at least one character in the second display area, where the at least one character is a character that the user wants to move to the first display area, and after receiving the second operation, the electronic device may move the text information corresponding to the at least one character to the first display area again. After the text information is moved to the first display area again, the moved-back text information may be continuously displayed at the original position, or a display area may be specially reserved in the first display area for displaying the text information moved back from the second display area, or the moved-back text information may be displayed in front of or behind each text information in the first display area, and so on, as long as the text information is convenient for the user to view.
For example, please refer to fig. 4B, where a represents a first display area, B represents a second display area, a section is displayed in the second display area, the user performs a second operation on the characters "zhangsan" in the section, for example, the user performs a sliding operation on the 2 nd text information with a finger, for example, the direction of the sliding operation of the finger is the direction indicated by the small arrow beside the hand in fig. 4B, the electronic device may determine the text information corresponding to the characters "zhangsan", for example, the text information is "zhangsan yesterday wen hainan", and the electronic device may move the text information to the first display area again, as indicated by the arrow in fig. 4B.
Optionally, after the text information is moved, the text information may not be displayed in the original area, for example, the text information 1 is moved from the first display area to the second display area, and then the text information 1 may not be displayed in the first display area, or for example, the text information 2 is moved from the second display area to the first display area, and then the text information 2 may not be displayed in the second display area, so as to save the display area. Fig. 4A and 4B are only for clarity of explanation of the moving process, and do not represent that the same contents are displayed in both areas after the movement.
When the text information is in the first display area, the user may edit or delete the text information in the first display area, which is described below.
Optionally, after the electronic device displays the at least one text message through the first display area of the display unit, the user may view the at least one text message. After the user views the first text information, the first text information may be considered to need to be edited, for example, some content needs to be added, the user may perform an operation on the first text information, which is referred to as a third operation, for example, the third operation may be an operation of inputting character information through a keyboard, voice, or handwriting, information of the third operation includes character information, and after the electronic device receives the third operation, the character information may be added to the first text information. When the user performs the third operation, the first text information may be located in advance, for example, the first text information includes 5 words, and the user determines that the content is to be input after the 2 nd word, so that the user may locate the cursor after the 2 nd word, so that the character information input by the user through the third operation may be inserted after the 2 nd word, and together with the original 5 words, the updated first text information is formed.
Optionally, after the user views at least one text message in the first display area, the user may consider that the first text message needs to be edited, for example, some content needs to be deleted from the first text message, then the user may perform an operation on the first text message, for example, referred to as a fourth operation, where the fourth operation may be an operation of deleting character information through a keyboard, a mouse, or the like, and the electronic device may delete the character information to which the fourth operation is directed after receiving the fourth operation. When the user performs the fourth operation, the first text information may be located in advance, for example, the first text information includes 5 words, and the user determines that the 2 nd word is to be deleted, the user may locate the cursor after (or before) the 2 nd word, so that the user may delete the 2 nd word through the fourth operation.
Optionally, the user may perform the third operation or the fourth operation on the first text information directly in the first display area, that is, the first display area may not only display at least one text information, but also be directly used to edit any displayed text information, which is very convenient. Alternatively, the display unit may also provide a third display area, which may be used for editing text information, such as adding character information to the text information, deleting character information from the text information, or the like. The special editing area is provided for editing the text information, so that the text information to be edited can be distinguished from other text information, confusion is avoided, and situations such as editing errors (for example, the text information 1 is edited originally, and the result is incorrectly positioned in the text information 1) are avoided.
If the display unit of the electronic device is similar to the situation shown in fig. 1, the first display area, the second display area, and the third display area are all located on the same display screen, and if the display unit of the electronic device is similar to the situation shown in fig. 2, the first display area and the third display area may be provided by the first sub-display unit, and the second display area may be provided by the second sub-display unit, that is, the first display area and the third display area may be considered to be located on one display screen, and the second display area is located on the other display screen.
Optionally, after the user views at least one text message in the first display area, the user may think that the first text message needs to be replaced as a whole, or the user feels too many errors in the first text message to input the text message again, the user may input speech information for the first text message, for example, called as second speech message (for example, the user may first select the first text message and then input the second speech message, or may make the electronic device know that the input second speech message is for the first text message by other means), after receiving the second speech message, the electronic device may recognize the second speech message to obtain text message, for example, called as second text message, because the user wants to replace the first text message with the newly input content, so the second speech message may be a sentence (of course, if there are a plurality of sentences, the electronic device may also adopt the recognition means as provided before), after obtaining the second text information, the electronic device may cause the second text information to replace the first text information. For example, if the user directly operates on the first text information in the first display area, the electronic device may replace the first text information with the second text information in the first display area, and if the user operates on the first text information in the third display area, the electronic device may replace the first text information with the second text information in the third display area.
Therefore, a user can edit any one text message, for example, character information can be added into any one text message, or character information can be deleted from any one text message, or old text information can be replaced by new text information, and the like. Meanwhile, the display mode of the text information is better, so that the operation speed of the user is correspondingly improved, and the time of the user is saved.
When editing the first text information, the user may select which display region to edit at all, or may determine which display region to edit according to the setting of the electronic device. If the editing is required to be performed in the third display area, after receiving the third operation (or the fourth operation, or the second voice information input by the user), the electronic device may first move the first text information to the third display area, and then edit the first text information according to the third operation (or the fourth operation, or the second voice information input by the user), or, if the editing is required to be performed in the third display area, the user may first move the first text information to the third display area (for example, the user may press the first text information to perform a sliding operation, where the sliding direction is required to be different from a sliding direction of an operation for adding the text information to the second display area), and then perform the operation on the first text information in the third display area.
Optionally, for at least one piece of text information displayed in the first display area, if the user considers that a certain piece of text information is wrong or the user considers that a certain piece of text information is not needed, the user may also delete the text information from the first display area directly. For example, the user may press a certain text message for a long time, and when the duration of pressing the text message by the user is longer than a third preset duration, the electronic device may delete the text message.
Optionally, after the at least one text message is displayed through the first display area, the electronic device may monitor the at least one text message, for example, if a duration that the second text message stays in the first display area is longer than a second preset duration, the electronic device may delete the second text message from the first display area, so as to move the display area as much as possible to display new content.
The second preset time period and the third preset time period can be set by the electronic device, or can be set by the user.
The apparatus of the present invention will now be described with reference to the accompanying drawings.
Referring to fig. 5, based on the same inventive concept, an embodiment of the present invention provides an electronic device, which may include a memory 501, a processor 502, and a receiver 503. Of course, the electronic device may further comprise a display unit, not shown in fig. 6.
The processor 502 may include a Central Processing Unit (CPU) or an Application Specific Integrated Circuit (ASIC), may include one or more Integrated circuits for controlling program execution, may include hardware circuits developed using Field Programmable Gate Arrays (FPGAs), and may include a baseband chip.
The number of the memory 501 may be one or more. The Memory 501 may include a Read Only Memory (ROM), a Random Access Memory (RAM), and a disk Memory.
The receiver 503 may be configured to receive an instruction sent by a user through a human-computer interaction manner, and may feed back an execution result to the user.
The memory 501 and the receiver 503 may be connected to the processor 502 through a bus (fig. 5 is taken as an example), or may be connected to the processor 502 through dedicated connection lines.
The memory 501 is used for storing instructions required by the processor 502 to execute tasks, the receiver 503 is used for receiving first voice information input by a user, and the processor 502 is used for executing the instructions stored in the memory 501 to perform the following functions: recognizing the first voice information to generate at least one text message; each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the completion of the reception of the last sub-voice message to the start of the reception of the next sub-voice message is longer than a first preset time; displaying at least one text message through a first display area of a display unit; wherein, in the first display area, each text information is displayed as a paragraph.
Alternatively to this, the first and second parts may,
the receiver 503 is also used to: after the processor 502 displays the at least one text message through the first display area of the display unit, receiving a first operation for a first text message of the at least one text message;
the processor 502 is further configured to: if the information of the first operation is matched with preset operation information for determining that the text information is correct, moving the first text information to a second display area of the display unit; and in the second display area, the text information corresponding to the first voice information is displayed as a paragraph.
Optionally, the processor 502 is further configured to:
before moving the first text information to a second display area of the display unit, arranging the text information in the second display area according to the arrangement sequence of the text information in the first display area; wherein the second display area displays text information of at least one paragraph.
Alternatively to this, the first and second parts may,
the receiver 503 is also used to: receiving a second operation for at least one character in a second display area;
the processor 502 is further configured to: and if the information of the second operation is matched with the preset operation information for restoring the text information, moving the text information corresponding to at least one character to the first display area again.
Alternatively to this, the first and second parts may,
the receiver 503 is also used to: after the processor 502 displays the at least one text message through the first display area of the display unit, receiving a third operation for a first text message of the at least one text message;
the processor 502 is further configured to: and if the information of the third operation comprises character information, adding the character information into the first text information.
Alternatively to this, the first and second parts may,
the receiver 503 is also used to: after the processor 502 displays the at least one text message through the first display area of the display unit, receiving second voice information input by a user for a first text message of the at least one text message;
the processor 502 is further configured to: and recognizing the second voice information to generate second text information, and replacing the first text information with the second text information.
Optionally, the processor 502 is further configured to:
after the at least one text message is displayed through the first display area of the display unit, determining that the duration of the second text message in the at least one text message staying in the first display area is longer than a second preset duration;
the second text information is deleted from the first display area.
Referring to fig. 6, based on the same inventive concept, an embodiment of the present invention provides another electronic device, which may include a receiving module 601 and a processing module 602. Of course, the electronic device may further comprise a display unit, not shown in fig. 6.
A receiving module 601, configured to receive first voice information input by a user;
the processing module 602 is configured to identify the first voice information and generate at least one text message; each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the completion of the reception of the last sub-voice message to the start of the reception of the next sub-voice message is longer than a first preset time;
the processing module 602 is further configured to display at least one text message through a first display area of a display unit of the electronic device; wherein, in the first display area, each text information is displayed as a paragraph.
Alternatively to this, the first and second parts may,
the receiving module 601 is further configured to receive a first operation on a first text information of the at least one text information after the processing module 602 displays the at least one text information through the first display area of the display unit;
the processing module 602 is further configured to, if the information of the first operation matches preset operation information for determining that the text information is correct, move the first text information to a second display area of the display unit; and in the second display area, the text information corresponding to the first voice information is displayed as a paragraph.
Optionally, the processing module 602 is further configured to: before moving the first text information to a second display area of the display unit, arranging the text information in the second display area according to the arrangement sequence of the text information in the first display area; wherein the second display area displays text information of at least one paragraph.
Alternatively to this, the first and second parts may,
a receiving module 601, configured to receive a second operation for at least one character in a second display area;
the processing module 602 is further configured to, if the information of the second operation matches preset operation information for restoring the text information, move the text information corresponding to the at least one character to the first display area again.
Alternatively to this, the first and second parts may,
the receiving module 601 is further configured to receive a third operation for a first text information of the at least one text information after the processing module 602 displays the at least one text information through the first display area of the display unit;
the processing module 602 is further configured to add character information to the first text information if the information of the third operation includes the character information.
Alternatively to this, the first and second parts may,
the receiving module 601 is further configured to receive second voice information input by a user for a first text information in the at least one text information after the electronic device displays the at least one text information through the first display area of the display unit;
the processing module 602 is further configured to recognize the second voice information, generate second text information, and replace the first text information with the second text information.
Optionally, the processing module 602 is further configured to:
after the at least one text message is displayed through the first display area of the display unit, determining that the duration of the second text message in the at least one text message staying in the first display area is longer than a second preset duration;
the second text information is deleted from the first display area.
Both the electronic devices shown in fig. 5 and fig. 6 can be used to execute the method described in fig. 3, and therefore, for functions and the like implemented by each unit in the electronic devices shown in fig. 5 and fig. 6, reference may be made to the description of the foregoing method, which is not repeated.
In the embodiment of the invention, the electronic equipment identifies the voice information (for example, called as first voice information) input by the user once, at least one piece of text information can be generated, and each piece of text information can be displayed as a paragraph during displaying, so that the user can clearly and conveniently check the text information.
In the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the described units or division of units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the elements may be selected according to actual needs to implement the embodiments of the present invention.
The functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be an independent physical module.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a Universal Serial Bus flash drive (usb flash drive), a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
Specifically, the computer program instructions corresponding to a text information display method in the embodiment of the present invention may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the computer program instructions corresponding to a text information display method in the storage medium are read or executed by an electronic device, the method includes the following steps:
receiving first voice information input by a user;
recognizing the first voice information to generate at least one text message; each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the last receiving of the sub-voice message to the beginning of receiving the next sub-voice message is longer than a first preset time;
displaying the at least one text message through a first display area of a display unit; wherein each text information is displayed as a paragraph in the first display area.
Optionally, the step of storing in the storage medium: the electronic device displays the at least one text message through a first display area of a display unit, and after being executed, the corresponding computer instructions further include:
receiving a first operation aiming at first text information in the at least one text information;
if the information of the first operation is matched with preset operation information for determining that the text information is correct, moving the first text information to a second display area of the display unit; and in the second display area, the text information corresponding to the voice information obtained at the same time is displayed as a paragraph.
Optionally, the step of storing in the storage medium: moving the first text information to a second display area of the display unit, the corresponding computer instructions, before being executed, further comprising:
arranging the text information in the second display area according to the arrangement sequence of the text information in the first display area; wherein the second display area displays text information of at least one paragraph.
Optionally, the storage medium further stores some other computer instructions, and during execution, the some other computer instructions further include:
receiving a second operation for at least one character in the second display area;
and if the information of the second operation is matched with the preset operation information for restoring the text information, moving the text information corresponding to the at least one character to the first display area again.
Optionally, the step of storing in the storage medium: the electronic device displays the at least one text message through a first display area of a display unit, and after being executed, the corresponding computer instructions further include:
receiving a third operation aiming at first text information in the at least one text information;
and if the information of the third operation comprises character information, adding the character information into the first text information.
Optionally, the step of storing in the storage medium: the electronic device displays the at least one text message through a first display area of a display unit, and after being executed, the corresponding computer instructions further include:
receiving second voice information input by a user aiming at first text information in the at least one text information;
recognizing the second voice information to generate second text information;
replacing the first text information with the second text information.
Optionally, the step of storing in the storage medium: the electronic device displays the at least one text message through a first display area of a display unit, and after being executed, the corresponding computer instructions further include:
determining that the time length of a second text message in the at least one text message staying in the first display area is greater than a second preset time length;
deleting the second text information from the first display area.
The above embodiments are only used to describe the technical solutions of the present invention in detail, but the above embodiments are only used to help understanding the method and the core idea of the present invention, and should not be construed as limiting the present invention. Those skilled in the art should also appreciate that they can easily conceive of various changes and substitutions within the technical scope of the present disclosure.

Claims (15)

1. A text information display method is applied to electronic equipment and is characterized by comprising the following steps:
receiving first voice information input by a user;
recognizing the first voice information to generate at least one text message; each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the last receiving of the sub-voice message to the beginning of receiving the next sub-voice message is longer than a first preset time;
displaying the at least one text message through a first display area of a display unit; wherein, in the first display area, each text message is displayed as a paragraph;
receiving a first operation aiming at first text information in the at least one text information;
if the information of the first operation is matched with preset operation information for determining that the text information is correct, moving the first text information to a second display area of the display unit;
and monitoring the at least one text message, and if the time length of a second text message in the at least one text message staying in the first display area is longer than a second preset time length, deleting the second text message from the first display area by the electronic equipment.
2. The method of claim 1, wherein the text information corresponding to the first speech information is displayed as a paragraph in the second display area.
3. The method of claim 2, further comprising, prior to moving the first text information to the second display region of the display unit:
arranging the text information in the second display area according to the arrangement sequence of the text information in the first display area; wherein the second display area displays text information of at least one paragraph.
4. The method of claim 3, wherein the method further comprises:
receiving a second operation for at least one character in the second display area;
and if the information of the second operation is matched with the preset operation information for restoring the text information, moving the text information corresponding to the at least one character to the first display area again.
5. The method of claim 3, further comprising, after the electronic device displays the at least one text message via the first display region of the display unit:
receiving a third operation aiming at first text information in the at least one text information;
and if the information of the third operation comprises character information, adding the character information into the first text information.
6. The method of claim 3, further comprising, after the electronic device displays the at least one text message via the first display region of the display unit:
receiving second voice information input by a user aiming at first text information in the at least one text information;
recognizing the second voice information to generate second text information;
replacing the first text information with the second text information.
7. The method of any of claims 1-6, further comprising, after the electronic device displays the at least one text message via the first display region of the display unit:
determining that the time length of a second text message in the at least one text message staying in the first display area is greater than a second preset time length;
deleting the second text information from the first display area.
8. An electronic device, comprising:
a memory to store instructions;
the receiver is used for receiving first voice information input by a user;
a processor to execute the instructions to:
recognizing the first voice information to generate at least one text message; each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the last receiving of the sub-voice message to the beginning of receiving the next sub-voice message is longer than a first preset time;
displaying the at least one text message through a first display area of a display unit; wherein, in the first display area, each text message is displayed as a paragraph;
monitoring the at least one text message, and if the time length of a second text message in the at least one text message staying in the first display area is longer than a second preset time length, deleting the second text message from the first display area by the electronic equipment;
wherein the receiver is further configured to: after the processor displays the at least one text message through a first display area of a display unit, receiving a first operation for a first text message in the at least one text message;
the processor is further configured to: and if the information of the first operation is matched with preset operation information for determining that the text information is correct, moving the first text information to a second display area of the display unit.
9. The electronic device of claim 8,
and in the second display area, the text information corresponding to the first voice information is displayed as a paragraph.
10. The electronic device of claim 9, wherein the processor is further to:
before moving the first text information to a second display area of the display unit, arranging the text information in the second display area according to the arrangement sequence of the text information in the first display area; wherein the second display area displays text information of at least one paragraph.
11. The electronic device of claim 10,
the receiver is further configured to: receiving a second operation for at least one character in the second display area;
the processor is further configured to: and if the information of the second operation is matched with the preset operation information for restoring the text information, moving the text information corresponding to the at least one character to the first display area again.
12. The electronic device of claim 10,
the receiver is further configured to: after the processor displays the at least one text message through the first display area of the display unit, receiving a third operation for a first text message in the at least one text message;
the processor is further configured to: and if the information of the third operation comprises character information, adding the character information into the first text information.
13. The electronic device of claim 10,
the receiver is further configured to: after the processor displays the at least one text message through the first display area of the display unit, receiving second voice information input by a user for a first text message in the at least one text message;
the processor is further configured to: and recognizing the second voice information to generate second text information, and replacing the first text information with the second text information.
14. The electronic device of any of claims 8-13, wherein the processor is further configured to:
after the at least one piece of text information is displayed through a first display area of a display unit, determining that the time length of a second piece of text information in the at least one piece of text information staying in the first display area is longer than a second preset time length;
deleting the second text information from the first display area.
15. An electronic device, comprising:
the receiving module is used for receiving first voice information input by a user;
the processing module is used for identifying the first voice information and generating at least one text message; each text message corresponds to one sub-voice message in the first voice message, and when the electronic equipment receives the first voice message, the time interval from the last receiving of the sub-voice message to the beginning of receiving the next sub-voice message is longer than a first preset time;
the processing module is further configured to display the at least one text message through a first display area of a display unit of the electronic device; wherein, in the first display area, each text message is displayed as a paragraph; the electronic equipment is further used for monitoring the at least one text message, and if the time length of a second text message in the at least one text message staying in the first display area is longer than a second preset time length, the electronic equipment deletes the second text message from the first display area;
the receiving module is further used for receiving a first operation aiming at a first text message in the at least one text message after the processing module displays the at least one text message through a first display area of a display unit;
the processing module is further configured to move the first text message to a second display area of the display unit if the information of the first operation matches preset operation information used for determining that the text message is correct.
CN201510983257.8A 2015-12-24 2015-12-24 Text information display method and electronic equipment Active CN105630959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510983257.8A CN105630959B (en) 2015-12-24 2015-12-24 Text information display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510983257.8A CN105630959B (en) 2015-12-24 2015-12-24 Text information display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105630959A CN105630959A (en) 2016-06-01
CN105630959B true CN105630959B (en) 2020-02-21

Family

ID=56045892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510983257.8A Active CN105630959B (en) 2015-12-24 2015-12-24 Text information display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105630959B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106531167B (en) * 2016-11-18 2019-12-10 北京云知声信息技术有限公司 Voice information processing method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI526914B (en) * 2011-04-29 2016-03-21 華碩電腦股份有限公司 Diverse input method and diverse input module
CN103150294A (en) * 2011-12-06 2013-06-12 盛乐信息技术(上海)有限公司 Method and system for correcting based on voice identification results
CN103366742B (en) * 2012-03-31 2018-07-31 上海果壳电子有限公司 Pronunciation inputting method and system
CN103049206B (en) * 2012-12-21 2016-08-03 东莞宇龙通信科技有限公司 Method for editing text and communication terminal
CN103353824B (en) * 2013-06-17 2016-08-17 百度在线网络技术(北京)有限公司 The method of phonetic entry character string, device and terminal unit
CN103559880B (en) * 2013-11-08 2015-12-30 百度在线网络技术(北京)有限公司 Voice entry system and method

Also Published As

Publication number Publication date
CN105630959A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
EP2869162A2 (en) Displaying messages with cartoon cut images in an electronic device
CN104360990A (en) Content editing method
WO2014081483A1 (en) Providing note based annotation of content in e-reader
CN102591562A (en) Display apparatus and method of providing user interface thereof
EP3084634B1 (en) Interaction with spreadsheet application function tokens
CN105827510A (en) Push message processing method for mobile terminal, and mobile terminal
CN104407787A (en) Terminal
CN105144058A (en) Deferred placement prompt
CN104516674B (en) Literal processing method and device
CN109074547B (en) Text message ordering based on message content
TW201525730A (en) Annotation hint display
CN112748842A (en) Text selection method and device
US11567635B2 (en) Online collaborative document processing method and device
CN109491570B (en) Shorthand method, mobile terminal and storage medium
CN109033163B (en) Method and device for adding diary in calendar
CN114417784A (en) Comment display method, device, equipment and medium for document
US10204080B2 (en) Rich formatting for a data label associated with a data point
WO2024083018A1 (en) Information processing method and apparatus, and electronic device
US20170004859A1 (en) User created textbook
CN105630959B (en) Text information display method and electronic equipment
US20140331160A1 (en) Apparatus and method for generating message in portable terminal
CN102323858A (en) Input method for identifying modification item in input and terminal and system
CN109242403B (en) Demand management method and computer equipment
US20150185988A1 (en) Method, apparatus and recording medium for guiding text editing position
EP3065032A1 (en) Word prediction input method and terminal

Legal Events

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