CN110109608B - Text display method, text display device, text display terminal and storage medium - Google Patents

Text display method, text display device, text display terminal and storage medium Download PDF

Info

Publication number
CN110109608B
CN110109608B CN201910410452.XA CN201910410452A CN110109608B CN 110109608 B CN110109608 B CN 110109608B CN 201910410452 A CN201910410452 A CN 201910410452A CN 110109608 B CN110109608 B CN 110109608B
Authority
CN
China
Prior art keywords
text information
information
text
serial number
current login
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
CN201910410452.XA
Other languages
Chinese (zh)
Other versions
CN110109608A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910410452.XA priority Critical patent/CN110109608B/en
Publication of CN110109608A publication Critical patent/CN110109608A/en
Application granted granted Critical
Publication of CN110109608B publication Critical patent/CN110109608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The present disclosure relates to a text display method, a text display device, a terminal and a storage medium, and relates to the technical field of computers, wherein the text display method comprises the following steps: displaying a chain transfer function button when the selection operation of first text information is detected and the first text information is chain transfer information; when touch operation on the chain type transmission function button is detected, second text information is obtained based on the first text information and information of a current login user; and displaying the second text information in an input box in the interactive interface. The operation required by the user in the text display process is the touch operation of selecting the first text information and the chain type transfer function button, and the complex and tedious operations of multi-step, such as selecting, copying, pasting and inputting own information are not required, so that the text display method is convenient and quick to operate and is not easy to make mistakes, and therefore the efficiency and the accuracy of the text display method are high.

Description

Text display method, text display device, text display terminal and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a text display method, an apparatus, a terminal, and a storage medium.
Background
With the development of computer technology and the diversification of terminal functions, people usually interact information through terminals. People can input text information in an input box in an interactive interface displayed by a terminal, the terminal displays the text information in the input box, and a user can perform sending operation when determining to send the text information. When editing and displaying the chain transmission information, the user usually needs to perform multiple steps to implement the chain transmission information.
In the related art, the text display method generally requires that a user performs selection and copy operations on a previous piece of text information sent by other users, then clicks an input box in an interactive interface, and performs a paste operation in the input box, and a terminal can display the previous piece of text information in the input box. The user can continue to input own information at a certain position of the last text information, and the terminal can display the text information edited by the user in the input box based on the input operation of the user. Of course, the user may also input other information and perform a sending operation, and then may send the text information in the input box.
The method needs a user to perform multi-step operations of selecting, copying, pasting, inputting own information and the like, the operation process is complex and tedious, and errors are easy to make, so that the efficiency and the accuracy of the text display method are low.
Disclosure of Invention
The present disclosure provides a text display method, apparatus, terminal, and storage medium to at least solve the problem of low efficiency and accuracy in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a text display method, including:
displaying a chain transfer function button when the selection operation of first text information is detected and the first text information is chain transfer information;
when touch operation on the chain type transmission function button is detected, second text information is obtained based on the first text information and information of a current login user;
and displaying the second text information in an input box in the interactive interface.
In one possible implementation manner, when the selection operation on the first text information is detected and the first text information is chain transfer information, displaying a chain transfer function button includes:
when the selection operation of first text information is detected, analyzing the first text information to obtain an analysis result;
and displaying a chain transmission function button when the analysis result shows that the first text information is chain transmission information.
In a possible implementation manner, the analyzing the first text information to obtain an analysis result includes any one of:
detecting whether the first text information comprises a first character or not, when the first text information comprises the first character, obtaining a first analysis result, wherein the first analysis result is used for indicating that the first text information is chain transmission information, and when the first text information does not comprise the first character, obtaining a second analysis result, wherein the second analysis result is used for indicating that the first text information is not chain transmission information;
detecting whether the first text information comprises a first character or not, acquiring the sequence of the first character when the first text information comprises the first character, and acquiring a first analysis result when the sequence of the first character is a target sequence; when the first text information does not comprise the first characters or the sequence of the first characters contained in the first text information is not a target sequence, obtaining a second analysis result;
and calling an analysis model, inputting the first text information into the analysis model, and outputting the first analysis result or the second analysis result.
In a possible implementation manner, the obtaining second text information based on the first text information and the information of the current login user includes any one of the following items:
when the first text information comprises a first serial number, adding the information of the current login user after the first serial number to obtain second text information, wherein a second character different from the first character is not included behind the first serial number in the first text information;
and when the first text information does not comprise the first serial number, adding a target serial number and the information of the current login user after the first text information to obtain second text information.
In a possible implementation manner, the adding the target serial number and the information of the current login user after the first text information includes any one of the following items:
when the first text information comprises a serial number, determining a target serial number based on the last serial number in the first text information, and adding the target serial number and the information of the current login user after the first text information;
and when the first text information does not comprise a serial number, determining an initial serial number as the target serial number, and adding the target serial number and the information of the current login user after the first text information.
In a possible implementation manner, the obtaining second text information based on the first text information and information of the current login user further includes:
adding space characters after the information of the current login user to obtain second text information;
the displaying the second text information in an input box in the interactive interface further comprises:
and displaying a cursor after the second text information, wherein a blank space is displayed between the cursor and the information of the current login user.
In a possible implementation manner, before the obtaining of the second text information based on the first text information and the information of the current login user, the method further includes:
receiving third text information sent by other users, wherein the third text information is obtained based on the first text information;
the obtaining of the second text information based on the first text information and the information of the current login user includes:
and acquiring the second text information based on the third text information and the information of the current login user.
In one possible implementation manner, the information of the current login user is at least one of the following:
the user account identification of the current login user;
remark information of the current login user in the current user group;
the real-name authentication information of the current login user;
the equipment information of the current login user;
and the identification information is generated based on the information of the current login user.
According to a second aspect of the embodiments of the present disclosure, there is provided a text display device including:
a display unit configured to perform displaying a chain transfer function button when a selection operation of first text information is detected and the first text information is chain transfer information;
an acquisition unit configured to, when a touch operation on the chain transfer function button is detected, execute acquisition of second text information based on the first text information and information of a current login user;
the display unit is further configured to display the second text information in an input box in an interactive interface.
In one possible implementation, the display unit is configured to perform:
when the selection operation of first text information is detected, analyzing the first text information to obtain an analysis result;
and displaying a chain transmission function button when the analysis result shows that the first text information is chain transmission information.
In one possible implementation, the display unit is configured to perform any one of:
detecting whether the first text information comprises a first character or not, when the first text information comprises the first character, obtaining a first analysis result, wherein the first analysis result is used for indicating that the first text information is chain transmission information, and when the first text information does not comprise the first character, obtaining a second analysis result, wherein the second analysis result is used for indicating that the first text information is not chain transmission information;
detecting whether the first text information comprises a first character or not, acquiring the sequence of the first character when the first text information comprises the first character, and acquiring a first analysis result when the sequence of the first character is a target sequence; when the first text information does not comprise the first characters or the sequence of the first characters contained in the first text information is not a target sequence, obtaining a second analysis result;
and calling an analysis model, inputting the first text information into the analysis model, and outputting the first analysis result or the second analysis result.
In one possible implementation, the obtaining unit is configured to perform any one of:
when the first text information comprises a first serial number, adding the information of the current login user after the first serial number to obtain second text information, wherein a second character different from the first character is not included behind the first serial number in the first text information;
and when the first text information does not comprise the first serial number, adding a target serial number and the information of the current login user after the first text information to obtain second text information.
In one possible implementation, the obtaining unit is configured to perform any one of:
when the first text information comprises a serial number, determining a target serial number based on the last serial number in the first text information, and adding the target serial number and the information of the current login user after the first text information;
and when the first text information does not comprise a serial number, determining an initial serial number as the target serial number, and adding the target serial number and the information of the current login user after the first text information.
In a possible implementation manner, the obtaining unit is further configured to add a space character after the information of the current login user is obtained, so as to obtain second text information;
the display unit is further configured to display a cursor after the second text information, and a space is displayed between the cursor and the information of the current login user.
In one possible implementation, the apparatus further includes:
the receiving unit is configured to execute receiving of third text information sent by other users, wherein the third text information is obtained based on the first text information;
the obtaining unit is further configured to perform obtaining the second text information based on the third text information and the information of the current login user.
In one possible implementation manner, the information of the current login user is at least one of the following:
the user account identification of the current login user;
remark information of the current login user in the current user group;
the real-name authentication information of the current login user;
the equipment information of the current login user;
and the identification information is generated based on the information of the current login user.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
one or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the operations performed by the text display method of any one of the first aspect and possible implementations of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, a storage medium is provided, in which instructions that, when executed by a processor of a terminal, enable the terminal to perform operations performed by the text display method according to any one of the first aspect and possible implementations of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising one or more instructions which, when executed by a processor of a terminal, enable the terminal to perform the operations performed by the text display method of any one of the first aspect and possible implementations of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the method and the device for displaying the text information, the chained transmission function button can be displayed when the selection operation of the first text information is detected and the first text information is chained transmission information, so that when the touch operation of the chained transmission function button is detected, the second text information is obtained and displayed based on the selected first text information and comprises the information of the current login user, the operation required by the user in the process is the selection of the first text information and the touch operation of the chained transmission function button, the complex operations of selecting, copying, pasting and inputting own information and the like are not needed, the operation is convenient and fast, errors are not prone to occurring, and therefore the efficiency and the accuracy of the text display method are high.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow diagram illustrating a method of displaying text in accordance with an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a method of displaying text in accordance with an exemplary embodiment.
Fig. 3 is a diagram illustrating a first text message according to an example embodiment.
FIG. 4 is a schematic diagram illustrating a chain transfer function button in accordance with an exemplary embodiment.
Fig. 5 is a diagram illustrating first text information in a related art according to an example embodiment.
Fig. 6 is a diagram illustrating an operation performed on first text information in a related art according to an example embodiment.
Fig. 7 is a diagram illustrating an operation performed on first text information in a related art according to an example embodiment.
Fig. 8 is a diagram illustrating second text information in a related art according to an example embodiment.
Fig. 9 is a diagram illustrating a first text message according to an example embodiment.
Fig. 10 is a diagram illustrating a second text message according to an example embodiment.
FIG. 11 is a block diagram illustrating a text display apparatus according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The user information to which the present disclosure relates may be information authorized by the user or sufficiently authorized by each party.
Fig. 1 is a flowchart illustrating a text display method according to an exemplary embodiment, where the text display method is used in a terminal as shown in fig. 1, and includes the following steps.
In step S11, when a selection operation of the first text information is detected and the first text information is chain transfer information, a chain transfer function button is displayed.
In step S12, when a touch operation on the chain delivery function button is detected, second text information is acquired based on the first text information and information of the current login user.
In step S13, the second text information is displayed in an input box in the interactive interface.
According to the method and the device for displaying the text information, the chained transmission function button can be displayed when the selection operation of the first text information is detected and the first text information is chained transmission information, so that when the touch operation of the chained transmission function button is detected, the second text information is obtained and displayed based on the selected first text information and comprises the information of the current login user, the operation required by the user in the process is the selection of the first text information and the touch operation of the chained transmission function button, the complex operations of selecting, copying, pasting and inputting own information and the like are not needed, the operation is convenient and fast, errors are not prone to occurring, and therefore the efficiency and the accuracy of the text display method are high.
In one possible implementation manner, when a selection operation on first text information is detected and the first text information is chain transfer information, displaying a chain transfer function button includes:
when the selection operation of the first text information is detected, analyzing the first text information to obtain an analysis result;
and displaying a chain transfer function button when the analysis result shows that the first text information is chain transfer information.
In a possible implementation manner, the analyzing the first text information to obtain an analysis result includes any one of the following:
detecting whether the first text information comprises a first character or not, when the first text information comprises the first character, obtaining a first analysis result, wherein the first analysis result is used for indicating that the first text information is chain transmission information, and when the first text information does not comprise the first character, obtaining a second analysis result, wherein the second analysis result is used for indicating that the first text information is not chain transmission information;
detecting whether the first text information comprises a first character or not, acquiring the sequence of the first character when the first text information comprises the first character, and acquiring the first analysis result when the sequence of the first character is a target sequence; when the first text information does not comprise the first characters or the sequence of the first characters contained in the first text information is not a target sequence, obtaining a second analysis result;
and calling an analysis model, inputting the first text information into the analysis model, and outputting the first analysis result or the second analysis result.
In a possible implementation manner, the obtaining of the second text information based on the first text information and the information of the current login user includes any one of the following:
when the first text information comprises a first serial number, adding the information of the current login user after the first serial number to obtain second text information, wherein a second character different from the first character is not included behind the first serial number in the first text information;
and when the first text information does not comprise the first serial number, adding a target serial number and the information of the current login user behind the first text information to obtain second text information.
In a possible implementation manner, the adding the target serial number and the information of the current login user after the first text information includes any one of the following items:
when the first text message comprises a serial number, determining a target serial number based on the last serial number in the first text message, and adding the target serial number and the information of the current login user after the first text message;
and when the first text information does not comprise a serial number, determining the initial serial number as the target serial number, and adding the target serial number and the information of the current login user after the first text information.
In a possible implementation manner, the obtaining the second text information based on the first text information and the information of the current login user further includes:
adding space characters after the information of the current login user to obtain second text information;
the displaying the second text information in an input box in the interactive interface further comprises:
and displaying a cursor behind the second text information, wherein a space is displayed between the cursor and the information of the current login user.
In a possible implementation manner, before the obtaining the second text information based on the first text information and the information of the current login user, the method further includes:
receiving third text information sent by other users, wherein the third text information is obtained based on the first text information;
the obtaining of the second text information based on the first text information and the information of the current login user includes:
and acquiring the second text information based on the third text information and the information of the current login user.
In one possible implementation, the information of the current login user is at least one of the following:
the user account identification of the current login user;
the remark information of the current login user in the current user group;
real-name authentication information of the current login user;
the equipment information of the current login user;
and identification information generated based on the information of the current login user.
Fig. 2 is a flowchart illustrating a text display method according to an exemplary embodiment, where the text display method is used in a terminal, as shown in fig. 2, and may include the following steps.
In step S21, when a selection operation for the first text information is detected, the terminal analyzes the first text information to obtain an analysis result.
In the embodiment of the disclosure, the terminal has a text input function and a text display function, a user can perform a text input operation on the terminal, and the terminal can display text information in an input box in an interactive interface based on the text input operation. The terminal can also provide a chain transfer automatic input function, a user can operate the first text information, and when the first text information is determined to be chain transfer information, the terminal can automatically input related text information in an input box of the interactive interface based on the first text information so as to reduce user operation. The chain transfer means a straight line transfer, and in the embodiment of the present disclosure, each user adds own information to the first text information of the previous user and transfers the information.
Before the step S21, the terminal may receive the first text information and display the first text information in the interactive interface, and the user may operate the first text information when viewing the first text information, so as to implement multiple functions. In the embodiment of the disclosure, if a user wants to use a chain transfer automatic input function provided by a terminal based on the first text information, a selection operation may be performed on the first text information, and when the terminal detects the selection operation on the first text information, the terminal may acquire the first text information and analyze the first text information to determine whether the first text information is chain transfer information.
After the terminal analyzes, an analysis result is obtained, and whether a chain transmission automatic input function is provided or not can be determined according to the analysis result. If the first text information is chain transfer information, a chain transfer automatic input function may be provided; and if not, the chain-transfer auto-input function need not be provided. Of course, the terminal may also provide other functions, for example, the terminal may provide functions of copying, forwarding, collecting, or deleting, and of course, other operations may also be performed, for example, a search function, which is not illustrated and not limited herein.
Specifically, an analysis rule may be set at the terminal, and the terminal may analyze the first text information based on the analysis rule to obtain an analysis result. If the analysis rules are different, the analysis process may be different. Based on the difference of the analysis rules, three ways are provided, and the terminal can analyze the first text information in any one of the following ways to obtain the analysis result.
The first method is as follows: the terminal detects whether the first text information comprises a first character or not, when the first text information comprises the first character, a first analysis result is obtained, the first analysis result is used for indicating that the first text information is chain transmission information, when the first text information does not comprise the first character, a second analysis result is obtained, and the second analysis result is used for indicating that the first text information is not chain transmission information.
In the first embodiment, the analysis rule is: it is analyzed whether the first character is included. The first character may be at least one of characters such as a serial number, a line feed character, a line connect character, a transfer character, and a fill-in-order character, of course, the first character may also be a combination of a serial number and a dot or a combination of a serial number and a pause number, the first character may be one character or a plurality of characters, the above description only provides examples of several first characters, specifically, the first character may be set by a related technician as required, and the embodiment of the present disclosure does not limit this. After the terminal acquires the first text information, whether the first text information comprises the first character can be detected.
Specifically, the existence form of the first text information acquired by the terminal may also be a form of a character, the terminal matches the first text information with the first character, if the matching is successful, it is determined that the first text information includes the first character, and if the matching is failed, it is determined that the first text information does not include the first character. In one possible implementation manner, the terminal may match the first text information with the first character based on the target matching formula. The target matching formula may be set by a person skilled in the relevant art as required, and the embodiment of the disclosure is not limited thereto.
The second method comprises the following steps: the terminal detects whether the first text information comprises a first character or not, obtains the sequence of the first character, and obtains the first analysis result when the first text information comprises the first character and the sequence of the first character is a target sequence; and when the first character is not included in the first text information or the sequence of the first character included in the first text information is not the target sequence, obtaining the second analysis result.
In the second embodiment, the analysis rule is: whether the first character is included is analyzed, and whether the sequence of the first character is a target sequence is further analyzed when the first character is included. That is, the condition that the first text message is the chain transfer message is that both of the above two conditions are satisfied. The target sequence can be set by a related technician according to requirements, for example, the target sequence can be a serial number, a line break, and a serial number.
The third method comprises the following steps: and the terminal calls an analysis model, inputs the first text information into the analysis model and outputs the first analysis result or the second analysis result.
In the third mode, the analysis process may be implemented by an analysis model, where the analysis model is used to analyze the first text information and output an analysis result. The analysis model may be trained based on a plurality of sample first text information. Specifically, the terminal may train the analysis model in a supervised learning manner, or may train the analysis model in an unsupervised learning manner, which is not limited in the embodiment of the present disclosure.
The foregoing only provides three possible analysis manners, and the terminal may use any one manner to analyze the first text information, and certainly, may also use other analysis manners, which is not limited in this disclosure.
In step S22, when the analysis result indicates that the first text information is chain transfer information, the terminal displays a chain transfer function button.
After the terminal analyzes the first text message to obtain an analysis result, whether a chain transfer automatic input function needs to be provided or not can be determined according to the analysis result. When the analysis result indicates that the first text information is the chain transfer information, the terminal may provide the chain transfer automatic input function, that is, when the analysis result obtained by the terminal is the first analysis result in step S21, the chain transfer function button may be displayed.
The chain transfer function button can be used for providing a chain transfer automatic input function, and the chain transfer function button is used for acquiring and displaying the second text information based on the first text information.
In a possible implementation manner, the text display method may be applied to an instant messaging application, or may be applied to other social applications, or of course, may also be applied to other applications having a chat function.
For example, taking the application to instant messaging as an example, as shown in fig. 3, after receiving the first text message sent by the other user, the terminal displays the first text message. In a possible implementation manner, the selection operation of the first text information in step S21 may be a long-press operation at the location of the first text information, and when the current login user wants to perform a call-in (wants to continue to transfer) while seeing the first text information, the first text information may be long-pressed, so that the terminal may analyze the first text information, taking the analysis manner of the first manner as an example, the first text information includes a "call-in", a serial number, or a line feed character, and the terminal may determine that the first text information is chain transfer information, which may be referred to as "call-in" information visually, so that a chain transfer function button may be displayed, for example, the chain transfer function button may be referred to as "call-in" button, as shown in fig. 4. Of course, the terminal may also provide other functions, such as copy, favorite, delete, reminder, and multiple selection.
In the related art, after the selection operation is performed on the first text information, the terminal may display as shown in fig. 5, the terminal may not analyze the first text information, and may not provide a chain transfer function button, if the user wants to connect, the user needs to click the copy button shown in fig. 5, and long-press the copy button in the input box of the interactive interface, select to paste the copy button in the popped-up option, and when inputting the own information, the user needs to perform a long-press operation at the cursor shown in fig. 6, so that the terminal pops up a "line feed" button, as shown in fig. 7, and then manually inputs the own information after clicking the line feed. A plurality of operation steps are required, the process is complicated, the problem shown in fig. 8 may occur, a user may easily input wrong information, and a long time may be required due to the complicated operation process, and it may be that two users edit based on the same first text information, which may cause a situation that a later sender overwrites the information sent by the former.
It should be noted that steps S21 and S22 are processes of displaying a chain transfer function button when a selection operation of the first text information is detected and the first text information is chain transfer information, and the terminal may analyze the first text information and provide a chain transfer automatic input function when determining that the first text information is chain transfer information. In the above description, only the first text information is taken as the chain transmission information as an example, and the analysis result obtained in the step S21 may also indicate that the first text information is not the chain transmission information, so that the terminal may display other function buttons without performing the step S22 and subsequent steps, for example, as shown in fig. 5, which is not limited by the embodiment of the present disclosure.
In step S23, when a touch operation on the chain delivery function button is detected, the terminal acquires second text information based on the first text information and information of the current login user.
In step S22, after the terminal displays the chain transfer function button, if the user wants to use the chain transfer automatic input function, that is, the user wants to add his/her own information transfer to the first text information, the terminal may perform a touch operation on the chain transfer function button, for example, the touch operation may be a click operation or other operations, for example, a long press operation, a drag operation, a slide operation, and the like.
When the terminal detects the touch operation of the pair of chain type transmission function buttons, the second text information can be obtained based on the first text information and the information of the current login user, the process is automatically executed by the terminal, the user only needs to perform touch operation on the chain type transmission function buttons, the first text information does not need to be copied manually, the information of the current login user and the like are input at a certain position of the first text information, the operation is convenient and fast, the labor cost is effectively reduced, the error rate is also reduced, and the accuracy is improved.
In one possible implementation manner, when the touch operation on the chain transfer function button is detected, the terminal may acquire information of a current login user, where the information of the current login user may be at least one of the following information: the user account identification of the current login user; the remark information of the current login user in the current user group; real-name authentication information of the current login user; the equipment information of the current login user; and identification information generated based on the information of the current login user.
For example, the user account id of the current login user may be a user nickname, an account number, or the like, and the group name of the current login user in the current user group, that is, the remark information, may be added. The real-name authentication information may be real identity information of the current login user, such as a real name of the user, a real contact information of the user, and the like, and the device information of the current login user may be a device model of the current login user, information of a device login account, and the like. For another example, the information of the currently logged-in user is liu XX, and based on the information of the currently logged-in user, identification information can be generated to be liu female, or liu mr, etc.
After the terminal acquires the first text information and the information of the current login user, second text information can be acquired based on the first text information and the information of the current login user, and the second text information is the text information to be displayed. Specifically, the process of the terminal acquiring the second text information may be any one of the following two cases:
the first condition is as follows: and when the first text message comprises a first serial number, the terminal adds the information of the current login user after the first serial number to obtain second text message, wherein the second character different from the first character is not included behind the first serial number in the first text message.
In this case, if there is an idle serial number, the terminal may add information of the current login user after the idle serial number, so as to obtain the second text information. For example, the first text information does not include a second character different from the first character after the serial numbers 1, 2, 3, 4, and 5 as shown in fig. 3. The terminal may add the information of the current login user after the existing serial number.
In a possible implementation manner, when the first text information includes a plurality of first serial numbers, the terminal adds the information of the current login user after a first serial number in the plurality of first serial numbers to obtain second text information. For example, as shown in fig. 3, no second character different from the first character is included after the serial numbers 1, 2, 3, 4, and 5, and the terminal may add information of the current login user after the serial number 1.
Case two: and when the first text information does not comprise the first serial number, the terminal adds a target serial number and the information of the current login user behind the first text information to obtain second text information.
In the second case, the first text information does not include the first serial number, and the terminal cannot add the information of the current login user after the existing first serial number, so that the target serial number and the information of the current login user can be added after the first text information. Two specific possibilities are included: the first text message comprises a serial number, but the serial number comprises a second character; the first text information does not include any sequence number. Therefore, in this second case, the process of acquiring the second text information by the terminal may be implemented by adopting any one of the following steps one and two:
the method comprises the following steps: and when the first text message comprises a serial number, the terminal determines a target serial number based on the last serial number in the first text message, and adds the target serial number and the information of the current login user after the first text message.
In the first step, the first text information includes a serial number, and the terminal may perform sequential numbering based on the last serial number to obtain a target serial number, thereby performing the information adding step. Specifically, the terminal may use the sum of the last sequence number and one as the target sequence number. For example, as shown in fig. 6, if the first text message includes sequence numbers 1, 2, and 3, but the three sequence numbers are followed by the second character, the terminal may sequentially number the sequence number based on the last sequence number (i.e., sequence number 3) to obtain the target sequence number 4. Next, a target serial number 4 and a personal nickname, which is information of the currently logged-in user, are added behind the first text information, and here, only the text contents in fig. 6 and 7 are taken as an example for description, and the buttons shown in fig. 6 and 7 do not affect the present example.
Step two: when the first text information does not comprise a serial number, the terminal determines the initial serial number as the target serial number, and adds the target serial number and the information of the current login user after the first text information.
In the second step, the first text message does not include a serial number, and the terminal may add an initial serial number after the first text message, and add information of the current login user, where the initial serial number may be set by a technician, for example, the initial serial number may be "1". As shown in fig. 9, the first text information does not include a serial number, and the terminal may add "1" and a personal nickname after the first text information, where the personal nickname is information of the current login user, which may be specifically shown in fig. 10.
In a possible implementation manner, in the first step and the second step, when the terminal acquires the second text information, a line break character may be further added after the first text information, and the target serial number and the information of the current login user are added after the line break character. For example, as shown in fig. 10, the newly added content and the original information may be in different rows to reflect the connection rule.
In a possible implementation manner, when the terminal acquires the second text information, a space character may be added after the information of the current login user to obtain the second text information. That is, the second text information includes the information of the currently registered user and a space character, but when the second text information is displayed in step S34 described below, a space is displayed after the information of the currently registered user.
In a possible implementation manner, before the step S23, the terminal may further receive third text information sent by other users, where the third text information is obtained based on the first text information. That is, if the other user performs the chain transfer before the current login user, in step S23, the terminal may obtain the second text information based on the third text information and the information of the current login user. Specifically, the process of the terminal acquiring the second text information based on the third text information is the same as the process shown in step S23, and details of the disclosure are not repeated here. Therefore, the situation that the current login user and other users carry out chain transmission based on the first text information to cause information coverage or information omission can be avoided.
In step S24, the terminal displays the second text information in the input box in the interactive interface.
After the terminal acquires the second text information, the second text information can be automatically displayed in an input box in the interactive interface without manual copying, pasting, inputting and other operations of a user, so that the user operation is effectively simplified, the operation efficiency is improved, and the accuracy of the text display method can also be improved. For example, as shown in figures 3, 4 and 10,
in a possible implementation manner shown in the above step S23, in the step S24, the terminal may further display a cursor after the second text information, the cursor being displayed with a space between the cursor and the information of the current login user. For example, as shown in fig. 10, a space is displayed after the information of the currently registered user, and then a cursor is displayed.
According to the method and the device for displaying the text information, the chained transmission function button can be displayed when the selection operation of the first text information is detected and the first text information is chained transmission information, so that when the touch operation of the chained transmission function button is detected, the second text information is obtained and displayed based on the selected first text information and comprises the information of the current login user, the operation required by the user in the process is the selection of the first text information and the touch operation of the chained transmission function button, the complex operations of selecting, copying, pasting and inputting own information and the like are not needed, the operation is convenient and fast, errors are not prone to occurring, and therefore the efficiency and the accuracy of the text display method are high.
FIG. 11 is a block diagram illustrating a text display apparatus according to an exemplary embodiment. Referring to fig. 11, the apparatus includes:
a display unit 1101 configured to execute displaying a chain transfer function button when a selection operation of first text information is detected and the first text information is chain transfer information;
an acquisition unit 1102 configured to, when a touch operation on the chain delivery function button is detected, execute acquiring second text information based on the first text information and information of a current login user;
the display unit 1101 is further configured to display the second text information in an input box in the interactive interface.
In one possible implementation, the display unit 1101 is configured to perform:
when the selection operation of the first text information is detected, analyzing the first text information to obtain an analysis result;
and displaying a chain transfer function button when the analysis result shows that the first text information is chain transfer information.
In one possible implementation, the display unit 1101 is configured to perform any one of the following:
detecting whether the first text information comprises a first character or not, when the first text information comprises the first character, obtaining a first analysis result, wherein the first analysis result is used for indicating that the first text information is chain transmission information, and when the first text information does not comprise the first character, obtaining a second analysis result, wherein the second analysis result is used for indicating that the first text information is not chain transmission information;
detecting whether the first text information comprises a first character or not, acquiring the sequence of the first character when the first text information comprises the first character, and acquiring the first analysis result when the sequence of the first character is a target sequence; when the first text information does not comprise the first characters or the sequence of the first characters contained in the first text information is not a target sequence, obtaining a second analysis result;
and calling an analysis model, inputting the first text information into the analysis model, and outputting the first analysis result or the second analysis result.
In one possible implementation, the obtaining unit 1102 is configured to perform any one of the following:
when the first text information comprises a first serial number, adding the information of the current login user after the first serial number to obtain second text information, wherein a second character different from the first character is not included behind the first serial number in the first text information;
and when the first text information does not comprise the first serial number, adding a target serial number and the information of the current login user behind the first text information to obtain second text information.
In one possible implementation, the obtaining unit 1102 is configured to perform any one of the following:
when the first text message comprises a serial number, determining a target serial number based on the last serial number in the first text message, and adding the target serial number and the information of the current login user after the first text message;
and when the first text information does not comprise a serial number, determining the initial serial number as the target serial number, and adding the target serial number and the information of the current login user after the first text information.
In a possible implementation manner, the obtaining unit 1102 is further configured to add a space character after the information of the current login user to obtain second text information;
the display unit 1101 is further configured to display a cursor after the second text information, wherein a space is displayed between the cursor and the information of the current login user.
In one possible implementation, the apparatus further includes:
a receiving unit configured to perform receiving third text information sent by other users, the third text information being obtained based on the first text information;
the obtaining unit 1102 is further configured to perform obtaining the second text information based on the third text information and the information of the current login user.
In one possible implementation, the information of the current login user is at least one of the following:
the user account identification of the current login user;
the remark information of the current login user in the current user group;
real-name authentication information of the current login user;
the equipment information of the current login user;
and identification information generated based on the information of the current login user.
The device provided by the embodiment of the disclosure can display the chain type transfer function button when the selection operation of the first text information is detected and the first text information is the chain type transfer information, so that when the touch operation of the chain type transfer function button is detected, the second text information is obtained and displayed based on the selected first text information and comprises the information of the current login user, the operation required by the user in the process is the selection of the first text information and the touch operation of the chain type transfer function button, and the complicated operations of multiple steps such as selection, copying, pasting and inputting own information are not needed, the operation is convenient and fast, errors are not easy to occur, and therefore, the efficiency and the accuracy of the text display method are high.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 12 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment. The terminal 1200 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1200 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so forth.
In general, terminal 1200 includes: a processor 1201 and a memory 1202.
The processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1201 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, the processor 1201 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1202 may include one or more computer-readable storage media, which may be non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1202 is used to store at least one instruction for execution by processor 1201 to implement a text display method provided by method embodiments in the present disclosure.
In some embodiments, the terminal 1200 may further optionally include: a peripheral interface 1203 and at least one peripheral. The processor 1201, memory 1202, and peripheral interface 1203 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1203 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1204, touch display 1205, camera 1206, audio circuitry 1207, pointing component 1208, and power source 1209.
The peripheral interface 1203 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, memory 1202, and peripheral interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202 and the peripheral device interface 1203 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1204 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1204 communicates with a communication network and other communication devices by electromagnetic signals. The radio frequency circuit 1204 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1204 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1204 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1204 may further include NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 1205 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1205 is a touch display screen, the display screen 1205 also has the ability to acquire touch signals on or over the surface of the display screen 1205. The touch signal may be input to the processor 1201 as a control signal for processing. At this point, the display 1205 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1205 may be one, providing the front panel of the terminal 1200; in other embodiments, the display 1205 can be at least two, respectively disposed on different surfaces of the terminal 1200 or in a folded design; in still other embodiments, the display 1205 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 1200. Even further, the display screen 1205 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display panel 1205 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
Camera assembly 1206 is used to capture images or video. Optionally, camera assembly 1206 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1206 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1207 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals into the processor 1201 for processing or inputting the electric signals into the radio frequency circuit 1204 to achieve voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided at different locations of terminal 1200. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1207 may also include a headphone jack.
The positioning component 1208 is configured to locate a current geographic Location of the terminal 1200 to implement navigation or LBS (Location Based Service). The Positioning component 1208 can be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union galileo System.
The power supply 1209 is used to provide power to various components within the terminal 1200. The power source 1209 may be alternating current, direct current, disposable or rechargeable. When the power source 1209 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1200 also includes one or more sensors 1210. The one or more sensors 1210 include, but are not limited to: acceleration sensor 1211, gyro sensor 1212, pressure sensor 1213, fingerprint sensor 1214, optical sensor 1215, and proximity sensor 1216.
The acceleration sensor 1211 can detect magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 1200. For example, the acceleration sensor 1211 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1201 may control the touch display 1205 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1211. The acceleration sensor 1211 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1212 may detect a body direction and a rotation angle of the terminal 1200, and the gyro sensor 1212 may collect a 3D motion of the user on the terminal 1200 in cooperation with the acceleration sensor 1211. The processor 1201 can implement the following functions according to the data collected by the gyro sensor 1212: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1213 may be disposed on a side bezel of terminal 1200 and/or an underlying layer of touch display 1205. When the pressure sensor 1213 is disposed on the side frame of the terminal 1200, the user's holding signal of the terminal 1200 can be detected, and the processor 1201 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1213. When the pressure sensor 1213 is disposed at a lower layer of the touch display screen 1205, the processor 1201 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 1205. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1214 is used for collecting a fingerprint of the user, and the processor 1201 identifies the user according to the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 1201 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 1214 may be provided on the front, back, or side of the terminal 1200. When a physical button or vendor Logo is provided on the terminal 1200, the fingerprint sensor 1214 may be integrated with the physical button or vendor Logo.
The optical sensor 1215 is used to collect the ambient light intensity. In one embodiment, the processor 1201 may control the display brightness of the touch display 1205 according to the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display brightness of the touch display panel 1205 is increased; when the ambient light intensity is low, the display brightness of the touch display panel 1205 is turned down. In another embodiment, processor 1201 may also dynamically adjust the camera head 1206 shooting parameters based on the ambient light intensity collected by optical sensor 1215.
A proximity sensor 1216, also known as a distance sensor, is typically disposed on the front panel of the terminal 1200. The proximity sensor 1216 is used to collect a distance between the user and the front surface of the terminal 1200. In one embodiment, when the proximity sensor 1216 detects that the distance between the user and the front surface of the terminal 1200 gradually decreases, the processor 1201 controls the touch display 1205 to switch from the bright screen state to the dark screen state; when the proximity sensor 1216 detects that the distance between the user and the front surface of the terminal 1200 gradually becomes larger, the processor 1201 controls the touch display 1205 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 12 is not intended to be limiting of terminal 1200 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, there is also provided a storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of a terminal to perform the text display method described above. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which comprises one or more instructions executable by a processor of a terminal to perform the method steps of the text display method provided in the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A text display method, comprising:
when the selection operation of first text information is detected, analyzing the first text information to obtain an analysis result;
displaying a chain transmission function button when the analysis result shows that the first text information is chain transmission information;
when touch operation on the chain transfer function button is detected, second text information is acquired based on the first text information and information of a current login user, wherein the second text information is acquired based on the first text information and the information of the current login user, and the second text information comprises any one of the following items: when the first text information comprises a first serial number, adding the information of the current login user after the first serial number to obtain second text information, wherein a second character different from the first character is not included behind the first serial number in the first text information; when the first text information does not comprise the first serial number, adding a target serial number and the information of the current login user after the first text information to obtain second text information;
and displaying the second text information in an input box in the interactive interface.
2. The text display method according to claim 1, wherein the analyzing the first text information to obtain an analysis result includes any one of:
detecting whether the first text information comprises a first character or not, when the first text information comprises the first character, obtaining a first analysis result, wherein the first analysis result is used for indicating that the first text information is chain transmission information, and when the first text information does not comprise the first character, obtaining a second analysis result, wherein the second analysis result is used for indicating that the first text information is not chain transmission information;
detecting whether the first text information comprises a first character or not, acquiring the sequence of the first character when the first text information comprises the first character, and acquiring a first analysis result when the sequence of the first character is a target sequence; when the first text information does not comprise the first characters or the sequence of the first characters contained in the first text information is not a target sequence, obtaining a second analysis result;
and calling an analysis model, inputting the first text information into the analysis model, and outputting the first analysis result or the second analysis result.
3. The text display method according to claim 1, wherein the adding of the target serial number and the information of the current login user after the first text information includes any one of:
when the first text information comprises a serial number, determining a target serial number based on the last serial number in the first text information, and adding the target serial number and the information of the current login user after the first text information;
and when the first text information does not comprise a serial number, determining an initial serial number as the target serial number, and adding the target serial number and the information of the current login user after the first text information.
4. The text display method according to any one of claims 1 to 3, wherein the obtaining of the second text information based on the first text information and information of the currently logged-in user further comprises:
adding space characters after the information of the current login user to obtain second text information;
the displaying the second text information in an input box in the interactive interface further comprises:
and displaying a cursor after the second text information, wherein a blank space is displayed between the cursor and the information of the current login user.
5. The text display method according to claim 1, wherein before the obtaining of the second text information based on the first text information and the information of the currently logged-in user, the method further comprises:
receiving third text information sent by other users, wherein the third text information is obtained based on the first text information;
the obtaining of the second text information based on the first text information and the information of the current login user includes:
and acquiring the second text information based on the third text information and the information of the current login user.
6. The text display method according to claim 1, wherein the information of the currently logged-in user is at least one of:
the user account identification of the current login user;
remark information of the current login user in the current user group;
the real-name authentication information of the current login user;
the equipment information of the current login user;
and the identification information is generated based on the information of the current login user.
7. A text display apparatus, comprising:
a display unit configured to perform:
when the selection operation of first text information is detected, analyzing the first text information to obtain an analysis result;
when the analysis result shows that the first text information is chain transmission information, executing and displaying a chain transmission function button;
an acquisition unit configured to, when a touch operation on the chain transfer function button is detected, execute acquisition of second text information based on the first text information and information of a current login user, wherein the acquisition of the second text information based on the first text information and the information of the current login user includes any one of: when the first text information comprises a first serial number, adding the information of the current login user after the first serial number to obtain second text information, wherein a second character different from the first character is not included behind the first serial number in the first text information; when the first text information does not comprise the first serial number, adding a target serial number and the information of the current login user after the first text information to obtain second text information;
the display unit is further configured to display the second text information in an input box in an interactive interface.
8. The text display apparatus according to claim 7, wherein the display unit is configured to perform any one of:
detecting whether the first text information comprises a first character or not, when the first text information comprises the first character, obtaining a first analysis result, wherein the first analysis result is used for indicating that the first text information is chain transmission information, and when the first text information does not comprise the first character, obtaining a second analysis result, wherein the second analysis result is used for indicating that the first text information is not chain transmission information;
detecting whether the first text information comprises a first character or not, acquiring the sequence of the first character when the first text information comprises the first character, and acquiring a first analysis result when the sequence of the first character is a target sequence; when the first text information does not comprise the first characters or the sequence of the first characters contained in the first text information is not a target sequence, obtaining a second analysis result;
and calling an analysis model, inputting the first text information into the analysis model, and outputting the first analysis result or the second analysis result.
9. The text display apparatus according to claim 7, wherein the acquisition unit is configured to perform any one of:
when the first text information comprises a serial number, determining a target serial number based on the last serial number in the first text information, and adding the target serial number and the information of the current login user after the first text information;
and when the first text information does not comprise a serial number, determining an initial serial number as the target serial number, and adding the target serial number and the information of the current login user after the first text information.
10. The text display device according to any one of claims 7 to 9, wherein the obtaining unit is further configured to add a space character after the information of the current login user to obtain second text information;
the display unit is further configured to display a cursor after the second text information, and a space is displayed between the cursor and the information of the current login user.
11. The text display apparatus of claim 7, wherein the apparatus further comprises:
the receiving unit is configured to execute receiving of third text information sent by other users, wherein the third text information is obtained based on the first text information;
the obtaining unit is further configured to perform obtaining the second text information based on the third text information and the information of the current login user.
12. The text display apparatus according to claim 7, wherein the information of the currently logged-in user is at least one of:
the user account identification of the current login user;
remark information of the current login user in the current user group;
the real-name authentication information of the current login user;
the equipment information of the current login user;
and the identification information is generated based on the information of the current login user.
13. A terminal, comprising:
one or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to execute the instructions to implement the text display method of any of claims 1-6.
14. A storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the text display method according to any one of claims 1 to 6.
CN201910410452.XA 2019-05-17 2019-05-17 Text display method, text display device, text display terminal and storage medium Active CN110109608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910410452.XA CN110109608B (en) 2019-05-17 2019-05-17 Text display method, text display device, text display terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910410452.XA CN110109608B (en) 2019-05-17 2019-05-17 Text display method, text display device, text display terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110109608A CN110109608A (en) 2019-08-09
CN110109608B true CN110109608B (en) 2020-12-29

Family

ID=67490628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910410452.XA Active CN110109608B (en) 2019-05-17 2019-05-17 Text display method, text display device, text display terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110109608B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625168A (en) * 2020-06-15 2020-09-04 北京搜狗科技发展有限公司 Information display method and device and electronic equipment
CN111753507A (en) * 2020-06-30 2020-10-09 腾讯数码(天津)有限公司 Text data processing method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9021033B2 (en) * 2010-07-23 2015-04-28 International Business Machines Corporation Method to change instant messaging status based on text entered during conversation
CN108491471B (en) * 2018-03-07 2020-11-20 维沃移动通信有限公司 Text information processing method and mobile terminal
CN108449258A (en) * 2018-03-09 2018-08-24 农佳捷 A kind of information building sequence system and method
CN109522538B (en) * 2018-11-28 2021-10-29 腾讯科技(深圳)有限公司 Automatic listing method, device, equipment and storage medium for table contents
CN110113255B (en) * 2019-05-10 2021-03-23 青岛网信信息科技有限公司 Method and system for connecting information in instant messaging software group

Also Published As

Publication number Publication date
CN110109608A (en) 2019-08-09

Similar Documents

Publication Publication Date Title
CN108737897B (en) Video playing method, device, equipment and storage medium
CN109151044B (en) Information pushing method and device, electronic equipment and storage medium
CN109068008B (en) Ringtone setting method, device, terminal and storage medium
CN111065001A (en) Video production method, device, equipment and storage medium
CN110109608B (en) Text display method, text display device, text display terminal and storage medium
CN110933468A (en) Playing method, playing device, electronic equipment and medium
CN109218169B (en) Instant messaging method, device and storage medium
CN112764608B (en) Message processing method, device, equipment and storage medium
CN110286839B (en) Message sending method, device, terminal and storage medium
CN112667835A (en) Work processing method and device, electronic equipment and storage medium
CN110191236B (en) Song playing queue management method and device, terminal equipment and storage medium
CN110196673B (en) Picture interaction method, device, terminal and storage medium
CN110942426A (en) Image processing method and device, computer equipment and storage medium
CN112732133A (en) Message processing method and device, electronic equipment and storage medium
CN112311652A (en) Message sending method, device, terminal and storage medium
CN110769120A (en) Method, device, equipment and storage medium for message reminding
CN109033473B (en) Picture sharing method and device and computer readable storage medium
CN110266883B (en) Song downloading and collecting method and device, terminal equipment and storage medium
CN109660450B (en) Automatic message reply method, device, terminal, server and storage medium
CN111049970B (en) Method and device for operating equipment, electronic equipment and medium
CN108304241B (en) Method and device for displaying dialog box
CN111275561A (en) Method and device for acquiring association relation, computer equipment and storage medium
CN112947823A (en) Session processing method, device, equipment and storage medium
CN113485596A (en) Virtual model processing method and device, electronic equipment and storage medium
CN112910752A (en) Voice expression display method and device and voice expression generation method and device

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