CN111638838A - Text editing method and device and electronic equipment - Google Patents

Text editing method and device and electronic equipment Download PDF

Info

Publication number
CN111638838A
CN111638838A CN202010427329.1A CN202010427329A CN111638838A CN 111638838 A CN111638838 A CN 111638838A CN 202010427329 A CN202010427329 A CN 202010427329A CN 111638838 A CN111638838 A CN 111638838A
Authority
CN
China
Prior art keywords
text
input
target
user
editing
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.)
Pending
Application number
CN202010427329.1A
Other languages
Chinese (zh)
Inventor
操召俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010427329.1A priority Critical patent/CN111638838A/en
Publication of CN111638838A publication Critical patent/CN111638838A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The application discloses a text editing method and device and electronic equipment, belongs to the technical field of communication, and can solve the problem that the text editing process is complex. The method comprises the following steps: receiving a first input of a first text in a first interface by a user; displaying a text edit box including the first text in response to the first input; receiving a second input of the text editing box by the user; and in response to the second input, editing the first text in the text editing box into second text, and executing a target operation on the second text through a target application program. The method can be applied to scenes for quickly editing texts.

Description

Text editing method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a text editing method and device and electronic equipment.
Background
Currently, when a user uses a mobile terminal to browse news messages, microblog messages, chat messages, notification messages, or the like, if the user is interested in certain texts, the user can perform long-press operation on the area where the texts are located, so that the mobile terminal can pop up options such as "copy" and "search". The user may then click on the "copy" option and copy the text. Then, the user can trigger the mobile terminal to open a certain application program and an input method window, and then click a 'paste' option in the input method window. After editing the pasted text in the input method window, the user can trigger the application program to perform operations such as forwarding and sharing on the edited text.
In the process, the user at least performs operations of selecting a text, copying the text, opening an input method, pasting the text, editing the text and the like, so that the process of text editing in the prior art is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a text editing method and device and electronic equipment, and the problem that the text editing process is complicated can be solved.
In order to solve the above technical problem, the embodiment of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a text editing method. The method comprises the following steps: receiving a first input of a first text in a first interface by a user; displaying a text edit box including the first text in response to the first input; receiving a second input of the text editing box by the user; and in response to the second input, editing the first text in the text editing box into second text, and executing a target operation on the second text through a target application program.
In a second aspect, an embodiment of the present application provides a text editing apparatus. The text editing device comprises a receiving module, a display module and a processing module. The receiving module is used for receiving first input of a user on first text in the first interface; a display module for displaying a text edit box including the first text in response to the first input received by the receiving module; the receiving module is also used for receiving a second input of the user to the text editing box; and the processing module is used for responding to the second input received by the receiving module, editing the first text in the text editing box into a second text and executing target operation on the second text through a target application program.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method as provided in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method as provided in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method as provided in the first aspect.
In an embodiment of the application, a first input of a first text in a first interface by a user can be received; and in response to the first input, displaying a text edit box including the first text; receiving a second input of the user to the text edit box; and in response to the second input, editing the first text in the text editing box into a second text, and executing a target operation on the second text through a target application program. According to the scheme, when a user is interested in the first text in the first interface, the user can trigger the electronic equipment to directly display the text editing box through the first input of the first text, and the first text is displayed in the text editing box, so that the user can edit the text in the text editing box and perform target operation on the edited text, the text editing process is simplified, and the user can conveniently and quickly use the edited text.
Drawings
Fig. 1 is a schematic diagram of a text editing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an operation of selecting a text by a user according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating an operation of a user editing a text according to an embodiment of the present application;
fig. 4 is a second schematic diagram of a text editing method according to an embodiment of the present application;
FIG. 5 is a diagram illustrating a display function option provided by an embodiment of the present application;
FIG. 6 is a diagram illustrating operations provided by embodiments of the present application to select a contact;
fig. 7 is a schematic structural diagram of a text editing apparatus according to an embodiment of the present application;
fig. 8 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application 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 application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The text editing method, the text editing device and the electronic equipment can receive first input of a user on a first text in a first interface; and in response to the first input, displaying a text edit box including the first text; receiving a second input of the user to the text edit box; and in response to the second input, editing the first text in the text editing box into a second text, and executing a target operation on the second text through a target application program. According to the scheme, when a user is interested in the first text in the first interface, the user can trigger the electronic equipment to directly display the text editing box through the first input of the first text, and the first text is displayed in the text editing box, so that the user can edit the text in the text editing box and perform target operation on the edited text, the text editing process is simplified, and the user can conveniently and quickly use the edited text.
The text editing method, the text editing device, and the electronic device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a text editing method. The method may include S101 to S104 described below.
S101, a text editing device receives first input of a first text in a first interface by a user.
In an embodiment of the present application, the first input may be a selection input of a first text in the first interface. The first text may be all text or a portion of text in the first interface.
Optionally, the first interface may be any interface including text, for example, a news interface, a mail interface, a chat interface, a notification interface, a microblog interface, an e-book interface, or a game interface.
An alternative implementation manner is that the first text in the first interface is a text composed of traditional meaning contents such as words, symbols and characters. Accordingly, the first input may be a selection input for the contents. For example, in the case of displaying an electronic book interface, the user may adjust the positions of a front cursor and a rear cursor in the electronic book interface, so that the text editing apparatus may determine the text between the front cursor and the rear cursor as the first text.
Another optional implementation manner is that the first text in the first interface is a text obtained after the picture in the first interface is recognized. Accordingly, the first input may include a first sub-input for triggering conversion of a picture in the first interface into text and a second sub-input for selecting a second text from the converted text.
Optionally, before receiving a first input of a first text in the first interface by a user, the text editing method provided in the embodiment of the present application may further include: receiving input of a user in a first interface; and in response to the input, the background runs the input method application and starts the text editing function. It will be appreciated that, prior to receiving a user's first input of first text in the first interface, if the input method application is already in a post-run state, a text editing function may be initiated after receiving the user input. The text editing function provided in the embodiments of the present application may refer to the following description of the embodiments.
For example, in the case of displaying a chat interface, if a user is interested in text in a certain chat message, the user may perform a long-press input on the certain chat message, so that the text editing apparatus may display various functional controls such as a "copy" control, an "edit" control, a "delete" control, and the like. If the user clicks the "copy" control, the text editing apparatus can directly copy the message. If the user clicks the "delete" control, the text editing apparatus can delete the message directly. If the user clicks the 'edit' control, the text editing device can run the input method application program in the background and start the text editing function.
The input method application program is different from the application program corresponding to the first interface. The input method application may be a third party application or a system application.
S102, the text editing device responds to the first input and displays a text editing box comprising the first text.
In this embodiment of the application, after receiving a first input of a first text by a user, the text editing apparatus may switch the input method application program in a background running state to a foreground running state in response to the first input, and display a text editing box in a preset area of a first interface or display the text editing box on the first interface in a floating manner. In addition, the text editing apparatus will automatically synchronize the first text selected by the user to the text editing box, i.e. the first text will be automatically displayed in the text editing box without the user performing a paste operation in the text editing box.
The text edit box is an edit box in an input method interface of the input method application program, and a user can perform various editing operations such as text input, text deletion, text copying, expression adding, text format setting and the like in the text edit box.
Illustratively, the interface 01 shown in fig. 2 (a) is a chat interface between a user and a "manager". After receiving a chat message "kids, things of the project," wai liuming you get together at the company, "of" manager, "if the user wants to generate a memo, the user can adjust the position of the front cursor and the rear cursor in the chat message. Thereafter, the text editing apparatus may determine the text "nine yours tomorrow together to the company" between the front cursor and the rear cursor as the first text, and display a text editing box 02 including the first text 03 as shown in (b) in fig. 2 in a preset area of the interface 01.
And S103, receiving a second input of the text editing box by the user through the text editing device.
In an embodiment of the application, the second input is an editing input to the first text in the text editing box, and the editing input may include at least one of: inputting a text in the first text, deleting a text from the first text, copying and pasting the first text, adding an expression in the first text, setting a text format of the first text, and the like. The edited first text may be referred to as a second text.
For example, after displaying the text editing box 02 including the first text 03 as shown in (b) of fig. 2, the user may perform an editing operation on the first text 03 in the text editing box 02, for example, editing the first text 03 into a second text "manager notifies nine am to company" 04 as shown in fig. 3.
And S104, the text editing device responds to the second input, edits the first text in the text editing box into a second text, and executes target operation on the second text through a target application program.
Optionally, the target application program is different from the application program corresponding to the first interface, or the target application program is the application program corresponding to the first interface.
For example, for the case that the target application is different from the application corresponding to the first interface, the application corresponding to the first interface is taken as the first application as an example. The target application may be an input method application; alternatively, the target application may be an application different from both the first application and the input method application, for example, the first application is an electronic book application, the target application is a social application, and both the electronic book application and the social application may call the input method application, that is, an input method interface may be displayed in both interfaces of the electronic book application and the social application.
It should be noted that, in the case that the target application is an application different from both the first application and the input method application, compared with the prior art that the user needs to first trigger the text editing apparatus to run the target application and then execute the target operation on the second text through the target application, in the embodiment of the present application, an interface of the target application does not need to be displayed, and the user can directly call the target application to execute the target operation on the second text through the second input in the first interface and the text editing frame, that is, the target operation can be completed while the first interface is kept displayed, so that the operation process of the user can be simplified and the time of the user can be saved.
For example, in the case that the target application is an application corresponding to the first interface, the target operation executed on the second text is an operation in an interface other than the first interface in the target application, that is, the first interface does not provide an option for triggering execution of the target operation.
It should be noted that, in the case that the target application is an application corresponding to the first interface, compared with the prior art that a user needs to first trigger the text editing apparatus to switch the first interface to another interface of the target application and then trigger the target operation to be executed by operating options in the other interface, in the embodiment of the present application, the other interface does not need to be displayed, and the user can directly call the target application to execute the target operation to the second text in the first interface and the text editing frame through the second input, that is, the target operation can be completed while the display of the first interface is maintained, so that the operation process of the user can be simplified and the time of the user can be saved.
Optionally, the target operation may include at least one of:
a. and sharing the second text to the target social interface through the target application program.
b. Generating, by the target application, the second text and the target information as a memo, the target information may include at least one of: the system time, the application providing the first text, the link providing the first text, and the contact providing the first text.
c. And sending the second text to a contact corresponding to the target identification through the target application program, wherein the target identification is the identification in the target application program.
d. The second text is stored in an input method application, which is the target application.
Optionally, in one mode, after receiving a second input to the text edit box by the user, editing the first text in the text edit box into a second text, and starting a timer; and when the timing time reaches the preset time, if any input of the user to the second text is not received, executing a target operation on the second text by the text editing device through a target application program, wherein the target operation is a preset operation.
Alternatively, after receiving a second input to the text edit box from the user, the text editing apparatus may edit the first text in the text edit box into a second text. And automatically displaying at least one option after a preset time, or displaying at least one option in response to a triggering operation of a user. Then, in a case where an input of one option of the at least one option by the user is received, a target operation corresponding to the one option may be performed on the second text by the target application. Reference may be made to the following detailed description of the embodiments, which are not repeated herein.
The embodiment of the application provides a text editing method, when a user is interested in a first text in a first interface, the user can trigger an electronic device to directly display a text editing box through a first input of the first text, and the first text is displayed in the text editing box, so that the user can edit the text in the text editing box and perform target operation on the edited text, the text editing process is simplified, and the user can conveniently and quickly use the edited text.
Optionally, the second input may include a first sub-input and a second sub-input. As shown in fig. 4, the above S103 may be implemented by S103A and S103B described below, and accordingly, the above S104 may be implemented by S104A and S104B described below.
S103A, the text editing apparatus receives a first sub-input of the text editing box by the user.
S104A, the text editing device responds to the first sub-input, edits the first text in the text editing box into second text, and displays at least one option.
Wherein each option in the at least one option corresponds to an operation.
The at least one option may be an option provided by the input method application. One operation corresponding to each option is an operation in an application different from the input method application. The operations corresponding to different options may be operations in different applications or operations in the same application.
Optionally, for each option in the at least one option, an operation corresponding to one option is set by default in the input method application program or recommended by the system; or, an operation corresponding to one option is set in the input method application program in advance by the user, namely, is self-defined by the user.
Illustratively, in the input method application program, option 1, option 2 and option 3 are set by default, and each of the 3 options corresponds to a function. In addition, the user can preset an option 4 corresponding to a new function in the input method application.
Optionally, in one mode, after the first text in the text editing box is edited into the second text, the text editing apparatus may start a timer; and after the timing time reaches the preset time, if the text editing device does not receive any input of the second text by the user, automatically displaying at least one option.
In another mode, after the first text in the text editing box is edited into the second text, if the text editing apparatus receives an input of the preset control from the user, at least one option is displayed in response to the input. Wherein, the input control is used for triggering and displaying the at least one option.
S103B, the text editing apparatus receives a second sub-input of the target option in the at least one option from the user.
S104B, the text editing device responds to the second sub-input, and target operation is executed on the second text through the target application program.
The target operation may be an operation corresponding to the target option.
Optionally, the target option may be one option or more options of the at least one option.
For example, the first interface is an interface of the application 1, and the target option is an option corresponding to the application 2. After receiving the second sub-input of the target option by the user, the text editing apparatus may run the application 2 in the background, and perform an operation on the second text through the application 2.
For another example, the first interface is an interface of the application 1, and the target options include an option corresponding to the application 2 and an option corresponding to the application 3. After receiving the second sub-input of the target option by the user, the text editing apparatus may background run the application 2 and the application 3, and perform one operation on the second text through the application 2 and perform another operation on the second text through the application 3.
According to the text editing method provided by the embodiment of the application, after the second input of the user to the text editing box is received, the text editing device displays at least one option, so that the user can trigger the target application program to execute the target operation corresponding to the option on the second text through the input of a certain option in the at least one option.
The execution target operation in S104 and S104B described above will be exemplarily explained by example one to example four described below.
Examples one,
In a case where the target application is an application having a social function, the "performing the target operation on the second text by the target application" includes: and sharing the second text to the target social interface through the target application program.
Optionally, if the target application program is different from the application program corresponding to the first interface, the target application program is in a background running state when the target operation is executed.
Optionally, after receiving a second input to the text editing box by the user, before sharing a second text to the target social interface through the target application, the text editing method provided in the embodiment of the present application may further include: and if the target application program is in the non-running state, running the target application program in the background.
For example, after the text editing apparatus receives a second input to the text editing box from the user, a "memo" option, a "share" option, a "contact" option, and a "store" option as shown in fig. 5 may be displayed in response to the second input. If the user clicks on the "share" option and social application a is in an un-run state, the text editing apparatus may background run social application a. Then, the text editing apparatus may share the second text "manager notifies nine o' clock to company in next morning" to the social interface of the social application a through the social application a, so that the friend of the user can see the dynamic message containing the text in the social interface.
It can be understood that, since the sharing process is performed automatically in the background, the user does not need to open the social application a, the user does not need to search a social interface in the social application a, and the user does not need to paste a second text in the social interface and click a "sharing" control, the operation process of the user is simplified, and the time of the user is saved.
Examples two,
In the case where the target application is an application having a memo function, the "performing the target operation on the second text by the target application" includes: and generating the second text and the target information into a memo through the target application program. Wherein the target information comprises at least one of: the system time, the application providing the first text, the link providing the first text, and the contact providing the first text.
Optionally, if the target application program is different from the application program corresponding to the first interface, the target application program is in a background running state when the target operation is executed.
For example, after the text editing apparatus receives a second input to the text editing box from the user, a "memo" option, a "share" option, a "contact" option, and a "store" option as shown in fig. 5 may be displayed in response to the second input. If the user clicks the "memo" option and invokes memo application b already in the background running state, memo application b may generate a memo in the background running state according to the second text "manager notifies nine am to company tomorrow" and system time: year, month, day, 15:30, manager notified nine am to company tomorrow.
It can be understood that, because the above process of generating the memo is automatically performed in the background, the user does not need to open the memo application program b, or create a memo in the memo application program b, or paste a second text in the created memo and click a "save" control, the operation process of the user is simplified, and the time of the user is saved.
Optionally, after a memo is generated, in a manner that, while the first interface is kept displayed, the text editing apparatus displays the memo, the saving control, and the saving abandoning control, so that the user may trigger to save the memo by inputting the saving control or trigger to abandon to save the memo by inputting the saving abandoning control, as required. Alternatively, while the first interface is kept displayed, the text editing apparatus displays a prompt message "a memo has been generated and saved", and thereafter, the user can view the memo in the memo application.
Examples III,
Before "performing a target operation on a second text by a target application", the text editing method provided in the embodiment of the present application may further include: displaying at least one identifier, wherein one identifier corresponds to one contact; a third input by the user to a target identifier of the at least one identifier is received.
Accordingly, the "performing the target operation on the second text by the target application" includes: and responding to the third input, and sending the second text to the contact corresponding to the target identification through the target application program. Wherein the target identifier may be an identifier in the target application.
Optionally, the at least one identifier is an identifier in one application program or an identifier in a different application program. Specifically, if at least one identifier is an identifier in one application program, the one application program may be an application program specified by a user in advance; if at least one identifier is an identifier in multiple applications, the multiple applications may be all applications including the contact identifier in the electronic device, or a part of applications selected by the user from all applications including the contact identifier.
Optionally, the number of the target identifiers may be one or more, that is, the number of the contacts corresponding to the target identifiers may be one or more.
For example, after the text editing apparatus receives a second input to the text editing box from the user, a "memo" option, a "share" option, a "contact" option, and a "store" option as shown in fig. 5 may be displayed in response to the second input. If the user clicks on the "contacts" option, the text editing apparatus may display a contact list 06, as shown in fig. 6 (a), the contact list 06 including "king", "calf", "short cao", "short liu", "boss", and "secretary", etc. Thereafter, if the user selects "king", "calf", "cobo" therefrom, the text editing apparatus may send a message including the second text to the contacts and display a prompt message 07 as shown in (b) of fig. 6.
It should be noted that, in the third example, after the first text in the text editing box is edited into the second text, the user selects the target identifier first, and then sends the second text to the contact corresponding to the target identifier. The embodiment of the application provides another text editing method: after the first text in the text editing box is edited into the second text, the text editing device sends the second text to contacts corresponding to M identifiers, wherein the M identifiers are preset by a user, and M is a positive integer.
It can be understood that, since the process of sending the text is automatically performed in the background, the user does not need to open a contact program, the user does not need to paste the edited text in the chat interface of each contact, and the user does not need to send each message including the edited text to each contact in sequence, the operation process of the user is simplified, and the time of the user is saved.
Example four,
In a case where the text edit box is an edit box in the input method application, the "performing a target operation on the second text by the target application" includes: the second text is stored in the input method application.
Optionally, after the second text is stored in the input method application program, the text editing method provided in the embodiment of the present application may further include: under the condition that an input method interface of the input method application program is displayed, receiving fourth input of a user to a preset control in the input method interface; in response to the fourth input, second text is displayed in a text edit box of the input method interface.
It should be noted that the input method application program in the prior art does not have a text storage function, and the input method application program provided in the embodiment of the present application has a text storage function. Thus, after storing the second text in the input method application, the user may also invoke the stored second text the next time the input method is used.
For example, after the text editing apparatus receives a second input to the text editing box from the user, the first text in the text editing box may be edited into a second text in response to the second input, and a "memo" option, a "share" option, a "contact" option, and a "store" option are displayed as shown in fig. 5. If the user clicks on the "store" option, the text editing device may store a second text "manager notify nine am to company" in the input method application. After a few days, the "history edit button" in the input method interface may be clicked when the user uses another application, so that the second text may be displayed in a text edit box of the input method interface.
It can be understood that, because the input method application program can store the edited text, in the process of using the input method in subsequent chatting, commenting and the like, the user can trigger the stored text to be displayed in the text editing box of the input method interface through input, so that the user can conveniently and quickly use the user-defined history editing text.
It should be noted that, in the text editing method provided in the embodiment of the present application, the execution main body may be a text editing apparatus, or a control module in the text editing apparatus for executing a method for loading text editing. In the embodiment of the present application, a text editing apparatus is taken as an example to execute a method for loading text editing, and the text editing method provided in the embodiment of the present application is described.
As shown in fig. 7, an embodiment of the present application provides a text editing apparatus 700. The text editing apparatus may include a receiving module 701, a display module 702, and a processing module 703. A receiving module 701, which may be used to receive a first input of a first text in a first interface by a user; a display module 702, which may be configured to display a text edit box including the first text in response to the first input received by the receiving module 701; the receiving module 701 may further be configured to receive a second input to the text editing box by the user; the processing module 703 may be configured to edit the first text in the text editing box into a second text in response to the second input received by the receiving module 701, and perform a target operation on the second text through a target application.
Optionally, the target application program is different from the application program corresponding to the first interface, or the target application program is the application program corresponding to the first interface.
Optionally, the second input may include a first sub-input and a second sub-input. The receiving module 701 may be specifically configured to receive a first sub-input of the text editing box by the user. The processing module is specifically used for editing the first text in the text editing box into a second text in response to the first sub-input received by the receiving module; the display module 702 may be further configured to display at least one option in response to the first sub-input received by the receiving module 701, where each option corresponds to an operation. The receiving module 701 may be specifically configured to receive a second sub-input of the user to a target option in the at least one option. The processing module 703 may be specifically configured to, in response to the second sub-input received by the receiving module 701, execute a target operation on the second text through the target application program, where the target operation is an operation corresponding to the target option.
Optionally, the processing module 703 may be specifically configured to share the second text with the target social interface through the target application program, or generate the second text and the target information as a memo through the target application program. Wherein the target information may include at least one of: the system time, the application providing the first text, the link providing the first text, and the contact providing the first text.
Optionally, the display module 702 may be further configured to display at least one identifier before the processing module 703 performs the target operation on the second text through the target application, where one identifier corresponds to one contact, and the at least one identifier is an identifier in one application or an identifier in a different application. The receiving module 701 may further be configured to receive a third input of the target identifier in the at least one identifier from the user. The processing module 703 may be specifically configured to, in response to the third input received by the receiving module 701, send the second text to the contact corresponding to the target identifier through the target application program, where the target identifier is an identifier in the target application program.
Optionally, the text edit box may be an edit box in an input method application. The processing module 703 may be specifically configured to store the second text in the input method application.
Optionally, the receiving module 701 may be further configured to receive a fourth input of the preset control in the input method interface by the user when the display module 702 displays the input method interface of the input method application program. The display module 702 may be further configured to display a second text in the text edit box of the input method interface in response to the fourth input received by the receiving module 701.
The text editing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Network Attached Storage (NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The text editing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The text editing apparatus provided in the embodiment of the present application can implement each process implemented by the text editing apparatus in the method embodiments of fig. 1 to fig. 6, and is not described here again to avoid repetition.
According to the text editing device provided by the embodiment of the application, when a user is interested in the first text in the first interface, the user can trigger the text editing device to directly display the text editing box through the first input of the first text, and the first text is displayed in the text editing box, so that the user can edit the text in the text editing box and perform target operation on the edited text, and therefore the text editing device simplifies the text editing process and facilitates the user to quickly use the edited text.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 810, a memory 809, and a program or an instruction stored in the memory 809 and executable on the processor 810, where the program or the instruction is executed by the processor 810 to implement each process of the text editing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810. Among them, the input unit 804 may include a graphic processor and a microphone, the user input unit 807 may include a touch panel and other input devices, the display unit 806 may include a display panel, and the memory 809 may include an application program and an operating system.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 807 may be configured to receive a first input of a first text in the first interface from a user. A display unit 806 may be used to display a text edit box including the first text in response to the first input received by the user input unit 807. The user input unit 807 may be further configured to receive a second input to the text edit box by the user. The processor 810 may be configured to edit the first text in the text edit box into a second text in response to the second input received by the user input unit 807, and perform a target operation on the second text through the target application.
Optionally, the second input may include a first sub-input and a second sub-input. The user input unit 807 may be specifically configured to receive a first sub-input of the text editing box by the user. The processing module 810 is specifically configured to edit the first text in the text edit box into a second text in response to the first sub-input received by the receiving module; the display unit 806 may be further configured to display at least one option in response to the first sub-input received by the user input unit 807, where each option corresponds to an operation. The user input unit 807 may be specifically configured to receive a second sub-input of the user to a target option in the at least one option. The processor 810 may be specifically configured to, in response to the second sub-input received by the user input unit 807, execute the target operation on the second text by the target application, where the target operation is an operation corresponding to the target option.
Optionally, the processor 810 may be specifically configured to share the second text with the target social interface through the target application program, or generate the second text and the target information as a memo through the target application program. Wherein the target information may include at least one of: the system time, the application providing the first text, the link providing the first text, and the contact providing the first text.
Optionally, the display unit 806 may be further configured to display at least one identifier, where one identifier corresponds to one contact, before the processor 810 performs the target operation on the second text through the target application program, where the at least one identifier is an identifier in one application program or an identifier in a different application program. The user input unit 807 may be further configured to receive a third input from the user on the target identifier of the at least one identifier. The processor 810 may be specifically configured to, in response to the third input received by the user input unit 807, send, by the target application, the second text to the contact corresponding to the target identifier, where the target identifier is an identifier in the target application.
Optionally, the text edit box may be an edit box in an input method application. The processor 810 may be specifically configured to store the second text in the input method application.
Optionally, the user input unit 807 may be further configured to receive a fourth input of the preset control in the input method interface from the user when the display unit 806 displays the input method interface of the input method application. The display unit 806 may be further configured to display a second text in a text edit box of the input method interface in response to the fourth input received by the user input unit 807.
According to the electronic device provided by the embodiment of the application, when a user is interested in the first text in the first interface, the user can trigger the electronic device to directly display the text editing box through the first input of the first text, and display the first text in the text editing box, so that the user can edit the text in the text editing box and perform target operation on the edited text, the process of text editing is simplified by the electronic device, and the user can conveniently and quickly use the edited text.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the text editing method embodiment is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. Readable storage media, including computer-readable storage media such as a computer-read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and so forth.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the text editing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of text editing, the method comprising:
receiving a first input of a first text in a first interface by a user;
in response to the first input, displaying a text edit box including the first text;
receiving a second input of the text editing box by the user;
and responding to the second input, editing the first text in the text editing box into second text, and executing target operation on the second text through a target application program.
2. The method of claim 1, wherein the second input comprises a first sub-input and a second sub-input;
the receiving of the second input of the user to the text editing box comprises:
receiving the first sub-input of the text editing box by a user;
the editing the first text in the text editing box into a second text in response to the second input, and performing a target operation on the second text through a target application program, including:
in response to the first sub-input, editing the first text in the text editing box into a second text, and displaying at least one option, wherein each option corresponds to one operation;
the receiving a second input to the text edit box by the user further comprises:
receiving the second sub-input of the user to a target option in the at least one option;
the editing the first text in the text editing box into a second text in response to the second input, and performing a target operation on the second text through a target application program, further comprising:
and responding to the second sub-input, and executing the target operation on the second text through the target application program, wherein the target operation is an operation corresponding to the target option.
3. The method of claim 1 or 2, wherein prior to the performing the target operation on the second text by the target application, the method further comprises:
displaying at least one identifier, wherein one identifier corresponds to one contact, and the at least one identifier is an identifier in one application program or identifiers in different application programs;
receiving a third input of a target identifier in the at least one identifier from a user;
the executing, by the target application, the target operation on the second text includes:
and responding to the third input, and sending the second text to a contact corresponding to the target identification through the target application program, wherein the target identification is the identification in the target application program.
4. The method of claim 1 or 2, wherein the text edit box is an edit box in an input method application;
the executing, by the target application, the target operation on the second text includes:
storing the second text in the input method application;
after storing the second text in the input method application, the method further comprises:
under the condition that an input method interface of the input method application program is displayed, receiving fourth input of a user to a preset control in the input method interface;
in response to the fourth input, displaying the second text in a text edit box of the input method interface.
5. The text editing device is characterized by comprising a receiving module, a display module and a processing module;
the receiving module is used for receiving a first input of a first text in the first interface by a user;
the display module is used for responding to the first input received by the receiving module and displaying a text edit box comprising the first text;
the receiving module is further used for receiving a second input of the user to the text editing box;
the processing module is used for responding to the second input received by the receiving module, editing the first text in the text editing box into a second text, and executing target operation on the second text through a target application program.
6. The text editing apparatus of claim 5, wherein the second input comprises a first sub-input and a second sub-input;
the receiving module is specifically configured to receive the first sub-input of the text edit box by the user;
the processing module is specifically configured to edit the first text in the text edit box into a second text in response to the first sub-input received by the receiving module;
the display module is further used for responding to the first sub-input received by the receiving module and displaying at least one option, wherein each option corresponds to one operation;
the receiving module is specifically configured to receive the second sub-input of the user to a target option in the at least one option;
the processing module is specifically configured to execute, by the target application, the target operation on the second text in response to the second sub-input received by the receiving module, where the target operation is an operation corresponding to the target option.
7. The text editing apparatus according to claim 5 or 6, wherein the display module is further configured to display at least one identifier, one identifier corresponding to one contact, the at least one identifier being an identifier in one application or an identifier in a different application, before the processing module performs the target operation on the second text through the target application;
the receiving module is further configured to receive a third input of a target identifier in the at least one identifier from a user;
the processing module is specifically configured to send, in response to the third input received by the receiving module, the second text to a contact corresponding to the target identifier through the target application program, where the target identifier is an identifier in the target application program.
8. The text editing apparatus according to claim 5 or 6, wherein the text editing box is an editing box in an input method application;
the processing module is specifically configured to store the second text in the input method application program;
the receiving module is further configured to receive a fourth input of the user to a preset control in the input method interface under the condition that the display module displays the input method interface of the input method application program;
the display module is further configured to display the second text in a text edit box of the input method interface in response to the fourth input received by the receiving module.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the text editing method of any one of claims 1 to 4.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the text editing method according to any one of claims 1 to 4.
CN202010427329.1A 2020-05-19 2020-05-19 Text editing method and device and electronic equipment Pending CN111638838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010427329.1A CN111638838A (en) 2020-05-19 2020-05-19 Text editing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010427329.1A CN111638838A (en) 2020-05-19 2020-05-19 Text editing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111638838A true CN111638838A (en) 2020-09-08

Family

ID=72330288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010427329.1A Pending CN111638838A (en) 2020-05-19 2020-05-19 Text editing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111638838A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256179A (en) * 2020-10-23 2021-01-22 深圳市艾酷通信软件有限公司 Text processing method and device
CN112288835A (en) * 2020-10-29 2021-01-29 维沃移动通信有限公司 Image text extraction method and device and electronic equipment
CN112433623A (en) * 2020-11-25 2021-03-02 维沃移动通信有限公司 Display method and electronic device
CN112765942A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Text processing method and device, electronic equipment and readable storage medium
CN113010251A (en) * 2021-03-19 2021-06-22 维沃移动通信有限公司 Information processing method and device and electronic equipment
CN113807059A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Text editing method and device
CN114518923A (en) * 2022-01-04 2022-05-20 维沃移动通信有限公司 Message sending method and device and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291302A (en) * 2008-05-27 2008-10-22 北京搜狗科技发展有限公司 Method for instant communication by input method, input method system therefor
CN103442140A (en) * 2013-08-26 2013-12-11 东莞宇龙通信科技有限公司 Method and system for cooperation of input method and address list, and mobile terminal
CN103593142A (en) * 2013-11-29 2014-02-19 网易(杭州)网络有限公司 Lyric sharing method and device
EP2945048A2 (en) * 2014-05-16 2015-11-18 LG Electronics Inc. Mobile terminal and method of controlling the same
CN105430144A (en) * 2015-06-11 2016-03-23 周连惠 Input method integrated with network telephone function
CN106354387A (en) * 2016-08-31 2017-01-25 江苏中威科技软件系统有限公司 Input method-based practical cloud clipboard
CN107423139A (en) * 2017-04-25 2017-12-01 深圳天珑无线科技有限公司 A kind of method and device shared
CN109213416A (en) * 2018-08-31 2019-01-15 维沃移动通信有限公司 A kind of display information processing method and mobile terminal
CN110750368A (en) * 2019-10-08 2020-02-04 维沃移动通信有限公司 Copying and pasting method and terminal
CN110928611A (en) * 2018-09-19 2020-03-27 西安中兴新软件有限责任公司 Text processing method, terminal and computer readable storage medium
CN111126301A (en) * 2019-12-26 2020-05-08 腾讯科技(深圳)有限公司 Image processing method and device, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291302A (en) * 2008-05-27 2008-10-22 北京搜狗科技发展有限公司 Method for instant communication by input method, input method system therefor
CN103442140A (en) * 2013-08-26 2013-12-11 东莞宇龙通信科技有限公司 Method and system for cooperation of input method and address list, and mobile terminal
CN103593142A (en) * 2013-11-29 2014-02-19 网易(杭州)网络有限公司 Lyric sharing method and device
EP2945048A2 (en) * 2014-05-16 2015-11-18 LG Electronics Inc. Mobile terminal and method of controlling the same
CN105430144A (en) * 2015-06-11 2016-03-23 周连惠 Input method integrated with network telephone function
CN106354387A (en) * 2016-08-31 2017-01-25 江苏中威科技软件系统有限公司 Input method-based practical cloud clipboard
CN107423139A (en) * 2017-04-25 2017-12-01 深圳天珑无线科技有限公司 A kind of method and device shared
CN109213416A (en) * 2018-08-31 2019-01-15 维沃移动通信有限公司 A kind of display information processing method and mobile terminal
CN110928611A (en) * 2018-09-19 2020-03-27 西安中兴新软件有限责任公司 Text processing method, terminal and computer readable storage medium
CN110750368A (en) * 2019-10-08 2020-02-04 维沃移动通信有限公司 Copying and pasting method and terminal
CN111126301A (en) * 2019-12-26 2020-05-08 腾讯科技(深圳)有限公司 Image processing method and device, computer equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256179A (en) * 2020-10-23 2021-01-22 深圳市艾酷通信软件有限公司 Text processing method and device
CN112288835A (en) * 2020-10-29 2021-01-29 维沃移动通信有限公司 Image text extraction method and device and electronic equipment
CN112433623A (en) * 2020-11-25 2021-03-02 维沃移动通信有限公司 Display method and electronic device
CN112433623B (en) * 2020-11-25 2024-08-27 维沃移动通信有限公司 Display method and electronic equipment
CN112765942A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Text processing method and device, electronic equipment and readable storage medium
WO2022156669A1 (en) * 2021-01-22 2022-07-28 维沃移动通信有限公司 Text processing method and apparatus, electronic device, and readable storage medium
CN113010251A (en) * 2021-03-19 2021-06-22 维沃移动通信有限公司 Information processing method and device and electronic equipment
CN113807059A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Text editing method and device
CN114518923A (en) * 2022-01-04 2022-05-20 维沃移动通信有限公司 Message sending method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN111638838A (en) Text editing method and device and electronic equipment
CN112583700B (en) Group creation method, device, equipment and storage medium
US20230088677A1 (en) Information sending method and apparatus and electronic device
CN113300938B (en) Message sending method and device and electronic equipment
WO2022161431A1 (en) Display method, apparatus, and electronic device
CN111917629A (en) Message reminding method and device and electronic equipment
CN113282424B (en) Information reference method and device and electronic equipment
CN113676589B (en) Unread message display method and device and electronic equipment
CN111787493A (en) Message sending method, message sending device and electronic equipment
CN112565063B (en) Message processing method and device and electronic equipment
CN113285866B (en) Information sending method and device and electronic equipment
JP2024518775A (en) Message processing method, first message processing device, second message processing device, and electronic device
WO2023040845A1 (en) Message transmission method and apparatus, and electronic device
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
WO2023131055A1 (en) Message sending method and apparatus, and electronic device
WO2022262721A1 (en) Information interaction method and apparatus, and electronic device
US20220291815A1 (en) Message transmitting method and apparatus, message receiving method and apparatus, device, and medium
WO2022156674A1 (en) Chat content processing method and apparatus, and electronic device
CN112702261A (en) Information display method and device and electronic equipment
US20240089223A1 (en) Information display method and apparatus, and electronic device
WO2024140453A1 (en) Information processing method and apparatus, and electronic device and readable storage medium
CN114374761A (en) Information interaction method and device, electronic equipment and medium
CN114327088A (en) Message sending method, device, electronic equipment and medium
CN112291414B (en) Message display method and device and electronic equipment
CN111641551A (en) Voice playing method, voice playing device and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200908