CN111124709A - Text processing method and electronic equipment - Google Patents

Text processing method and electronic equipment Download PDF

Info

Publication number
CN111124709A
CN111124709A CN201911285687.7A CN201911285687A CN111124709A CN 111124709 A CN111124709 A CN 111124709A CN 201911285687 A CN201911285687 A CN 201911285687A CN 111124709 A CN111124709 A CN 111124709A
Authority
CN
China
Prior art keywords
target
input
text
electronic device
screen
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
CN201911285687.7A
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 CN201911285687.7A priority Critical patent/CN111124709A/en
Publication of CN111124709A publication Critical patent/CN111124709A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The embodiment of the invention discloses a text processing method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that the operation process of copying a text in one application program to another application program is complex. The method is applied to an electronic device comprising a first screen and a second screen, and comprises the following steps: receiving a first input of a target text in the first screen; in response to the first input, marking the target text as a selected state; receiving a second input to a target area in the second screen; and in response to the second input, performing a target operation on the target text, the target operation being associated with the type of the target object displayed by the target area. The method may be applied to copy text in one application into the context of another application.

Description

Text processing method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a text processing method and electronic equipment.
Background
With the development of communication technology, different applications may be installed on the electronic device, and different operations may be performed by the different applications.
Currently, a user usually copies text in one application program to another application program to perform operations such as pasting, searching and the like on the text. For example, in the case that the electronic device displays an interface of a browser application, a user may copy a text in the interface of the browser application, exit the browser application, and trigger the electronic device to display the interface of the map application by clicking input of a map application icon displayed on a desktop of the electronic device; the user may then paste the text at the search location in the interface of the mapping application and trigger the electronic device to search for an address corresponding to the text through the mapping application. Thus, the operation of copying the text in one application to another application is cumbersome.
Disclosure of Invention
The embodiment of the invention provides a text processing method and electronic equipment, and aims to solve the problem that the operation process of copying a text in one application program to another application program is complicated.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a text processing method, which is applied to an electronic device including a first screen and a second screen, and the method may include: receiving a first input of a target text in the first screen; in response to the first input, marking the target text as a selected state; receiving a second input to a target area in the second screen; and in response to the second input, performing a target operation on the target text, the target operation being associated with the type of the target object displayed by the target area.
In a second aspect, an embodiment of the present invention provides an electronic device, which may include a receiving module and a processing module. A receiving module, which can be used for receiving a first input of a target text in a first screen; a processing module operable to mark the target text as a selected state in response to the first input received by the receiving module; the receiving module can be further used for receiving a second input of the target area in the second screen; the processing module may be further configured to perform a target operation on the target text in response to the second input received by the receiving module, the target operation being associated with a type of a target object displayed in the target area.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the text processing method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the text processing method provided in the first aspect.
In an embodiment of the present invention, a first input to a target text in a first screen of an electronic device may be received, and in response to the first input, the target text is marked as a selected state; and receiving a second input to a target area in a second screen of the electronic device, and in response to the second input, performing a target operation on the target text, the target operation being associated with a type of target object displayed by the target area. By the scheme, if a user wants to copy the text in one application program to another application program and perform corresponding operation in the other application program, the user can trigger the electronic equipment to respond to a first input of the target text in one application program interface displayed in the first screen to mark the target text into a selected state; and the user can also trigger the electronic equipment to respond to a second input through the second input of the target area in the second screen, and execute corresponding target operation on the target text in another application program according to the type of the object displayed in the target area. Therefore, the process of copying the text from one application program, pasting the text on another application program and executing corresponding operation can be simplified, and the convenience of user operation is further improved.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a text processing method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a screen operation of an electronic device according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of a text processing method according to an embodiment of the present invention;
fig. 5 is a third schematic diagram of a text processing method according to an embodiment of the present invention;
fig. 6 is a second schematic diagram illustrating a screen operation of an electronic device according to an embodiment of the present invention;
FIG. 7 is a fourth schematic diagram illustrating a text processing method according to an embodiment of the present invention;
fig. 8 is a third schematic diagram of a screen operation of an electronic device according to an embodiment of the present invention;
fig. 9 is a schematic view of a screen of an electronic device displaying a new schedule interface according to an embodiment of the present invention;
FIG. 10 is a fifth exemplary diagram illustrating a text processing method according to an embodiment of the present invention;
fig. 11 is a fourth schematic view illustrating a screen operation of an electronic device according to an embodiment of the present invention;
fig. 12 is a sixth schematic view illustrating a text processing method according to an embodiment of the present invention;
fig. 13 is a fifth schematic view illustrating a screen operation of an electronic device according to an embodiment of the present invention;
fig. 14 is a sixth schematic view illustrating a screen operation of an electronic device according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 16 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 17 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
The embodiment of the invention provides a text processing method and electronic equipment, which can receive a first input of a target text in a first screen of the electronic equipment, and mark the target text in a selected state in response to the first input; and receiving a second input to a target area in a second screen of the electronic device, and in response to the second input, performing a target operation on the target text, the target operation being associated with a type of target object displayed by the target area. By the scheme, if a user wants to copy the text in one application program to another application program and perform corresponding operation in the other application program, the user can trigger the electronic equipment to respond to a first input of the target text in one application program interface displayed in the first screen to mark the target text into a selected state; and the user can also trigger the electronic equipment to respond to a second input through the second input of the target area in the second screen, and execute corresponding target operation on the target text in another application program according to the type of the object displayed in the target area. Therefore, the process of copying the text from one application program, pasting the text on another application program and executing corresponding operation can be simplified, and the convenience of user operation is further improved.
The electronic device in the embodiment of the present invention may be an electronic device 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 invention are not limited in particular.
The following describes a software environment to which the text processing method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the text processing method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the text processing method may run based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the text processing method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic equipment in the embodiment of the invention can be terminal equipment. The terminal device may be a mobile electronic device or a non-mobile electronic device. For 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 Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
An execution main body of the text processing method provided by the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the text processing method in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily describe the text processing method provided by the embodiment of the present invention.
In the embodiment of the present invention, in the case that there is text in one application program interface displayed on the first screen of the electronic device, the user may press the target text in the first screen for a long time, and trigger the electronic device to mark the target text in the selected state in response to the long-time press input (i.e., the first input). Then, the user can also trigger the electronic device to respond to the click input (namely, the second input) by clicking the target area in the second screen of the electronic device, and paste, search, schedule and the like are performed on the target text in another application program according to the type of the object displayed by the target area. Therefore, the text in one application program can be copied to another application program to execute operations such as pasting, searching, schedule creating and the like, so that the operation process of copying the text from one application program and pasting the text in another application program is simplified, and the convenience of user operation is improved.
As shown in fig. 2, an embodiment of the present invention provides a text processing method applied to an electronic device including a first screen and a second screen, where the method may include steps 101 to 104 described below.
Step 101, the electronic device receives a first input of a target text in a first screen.
It should be noted that the electronic device provided by the embodiment of the present invention may include two screens, or more than two screens. In the case where the electronic device includes two or more screens, the first screen and the second screen are any two screens of the two or more screens. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the embodiment of the present invention, the first screen and the second screen of the electronic device may be two independent screens, and the first screen and the second screen may be connected by a shaft or a hinge, etc.; or the first screen and the second screen of the electronic device may be two independent screens, the first screen may be a front screen of the electronic device, and the second screen may be a back screen of the electronic device; alternatively, the screen of the electronic device may be a flexible screen, which may be folded into at least two screens, such as a first screen and a second screen.
Optionally, in this embodiment of the present invention, the target text is a text displayed in the first screen. Specifically, the target text may be text in an interface of the first screen display application. For example, the target text may be text in an interface of a browser application, the target text may also be text in an interface of an information application, and the target text may also be text in an interface of a social application. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, the first input may be used to select a target text. Specifically, the first input may be a long-press input of the target text, the first input may also be a press-and-drag input of the target text, and the first input may also be a double-click selection input of the target text. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Step 102, the electronic device responds to the first input and marks the target text to be in a selected state.
It should be noted that marking the target text in the selected state means that the electronic device marks the target text and displays the target text in the selected state. I.e. the first input is the input of the selected target text. The user can perform operations such as text editing, text copying, or text cutting on the target text in the selected state. The specific operation type may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
Optionally, in this embodiment of the present invention, in response to the first input, the electronic device marks the target text as a selected state, and displays the selected target text with a first display effect. Specifically, the first display effect may be any one of the following: changing the color of the background of the selected target text, changing the color of the selected target text, changing the font size of the selected target text, and the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Step 103, the electronic device receives a second input to the target area in the second screen.
In this embodiment of the present invention, the target area is an area in the second screen. The size and the position of the target area may be determined according to actual use requirements, and the embodiment of the present invention is not particularly limited.
Optionally, in this embodiment of the present invention, the second input may be a long-press input to the target region, the second input may also be a double-click input to the target region, and the second input may also be a slide input. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, assuming that the first screen and the second screen of the electronic device may be two separate screens, and the first screen and the second screen are connected by a shaft or a hinge, the second input of the target area in the second screen by the user may be a long press input to the target area, or a double click input to the target area, etc. Assuming that the screen of the electronic device is a flexible screen, the flexible screen may be folded into a first screen and a second screen, and in a case that the first screen and the second screen are located on the same plane, the second input of the target area in the second screen by the user may be an input of directly dragging the target text to the target area in the second screen after the user selects the target text in the first screen (i.e., after the target text is selected by the first input, the finger of the user still contacts with the first screen).
It should be noted that, under the condition that the first screen and the second screen of the electronic device are connected by the shaft or the hinge, the user may also use the cross-screen dragging input, that is, the second input may also be the cross-screen dragging input. Specifically, the area association is performed on the edge area of the first screen and the second screen, and then whether the screen-crossing dragging input is performed or not is determined according to the sliding direction and the sliding speed of the user sliding from the first screen to the second screen and the position of the second screen where the sliding input is received for the first time. And if the input is cross-screen dragging input, dragging the target dragged by the user on the first screen to the second screen.
And 104, the electronic equipment responds to the second input and executes target operation on the target text.
The target operation is associated with the type of the target object displayed in the target area.
In an embodiment of the present invention, the object displayed in the target area may be: an icon of an application or a portion of the contents of an interface of an application. That is, the type of the object displayed by the target area is an icon type or an interface type.
In addition, in the embodiment of the present invention, the target operation is associated with the type of the target object displayed in the target area, which means that the target operation has a mapping relationship with the type of the target object displayed in the target area, that is, the electronic device may perform the target operation on the target text according to the type of the object displayed in the target area.
Optionally, in this embodiment of the present invention, the target operation is an operation determined according to an object displayed in the target area and a type of the object. Specifically, the target operation may be any one of: paste, search, create new schedules, etc. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the embodiment of the present invention, the executing the target operation specifically may be that the electronic device automatically executes the target operation on the target text according to the type of the object displayed in the target area; specifically, the electronic device may determine the target operation on the target text according to the type of the object displayed in the target area, and then receive an input used by a user to determine to execute the target operation, and trigger the electronic device to execute the target operation on the target text. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Illustratively, as shown in fig. 3 (a), a chat interface of a certain chat-type application is displayed in the first screen 001 of the electronic device, and a desktop including a plurality of application icons is displayed in the second screen 002 of the electronic device, wherein "application 7" is an icon of a map-type application. The user may press a "beijing city, XX zone, XXX hotel" 010 text in the chat interface in the first screen 001, and the electronic device selects "beijing city, XX zone, XXX hotel" 010 as the target text in response to the press input (i.e., the first input). Then, after selecting the target text in the first screen 001, the user may drag the target text directly to the target area 003 in the second screen 002, as shown in (b) of fig. 3, the target area 003 is displayed with the icon "app 7" of the map-like application, and the electronic device displays the interface of the app 7 in the second screen 002 according to the type of the icon "app 7" displayed in the target area 003 in response to the drag input (i.e., the second input), and searches for (i.e., target operation) the address of "beijing city, XX area, XXX hotel" in the interface.
The embodiment of the invention provides a text processing method, which can receive a first input of a target text in a first screen of electronic equipment, and mark the target text in a selected state in response to the first input; and receiving a second input to a target area in a second screen of the electronic device, and in response to the second input, performing a target operation on the target text, the target operation being associated with a type of target object displayed by the target area. By the scheme, if a user wants to copy the text in one application program to another application program and perform corresponding operation in the other application program, the user can trigger the electronic equipment to respond to a first input of the target text in one application program interface displayed in the first screen to mark the target text into a selected state; and the user can also trigger the electronic equipment to respond to a second input through the second input of the target area in the second screen, and execute corresponding target operation on the target text in another application program according to the type of the object displayed in the target area. Therefore, the process of copying the text from one application program, pasting the text on another application program and executing corresponding operation can be simplified, and the convenience of user operation is further improved.
Optionally, with reference to fig. 2, as shown in fig. 4, the object displayed in the target area is an icon of the target application. The step 104 can be specifically realized by the following step 104 a.
And 104a, the electronic equipment responds to the second input and fills the target text into a target input box of the target application program.
Optionally, in this embodiment of the present invention, the interface of the target application may have at least one input box, and the first input box may be used as the target input box, where the first input box is a preset input box in the at least one input box.
Optionally, in the embodiment of the present invention, the first input box may be a default preset input box of the target application program, or an input box set by a user. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In the embodiment of the present invention, the filling of the target text into the target input box of the target application means pasting a part or all of the target text into the target input box of the target application.
It can be understood that, in the embodiment of the present invention, in a case that the object displayed in the target area is an icon of the target application program, the electronic device may automatically fill the target text into the target input box of the target application program in response to the second input, without being pasted or input again by the user, so that the user can conveniently perform the target operation on the target text by using the target application program, and thus, the convenience of the user operation is improved.
Optionally, in conjunction with fig. 4, as shown in fig. 5, the target application is a map-class application. After the step 104a, the text processing method provided in the embodiment of the present invention may further include the following step 105.
Step 105, the electronic device searches for a target location indicated by the target text and displays a map including the target location.
In this embodiment of the present invention, in a case that the target application is a map application, in response to a second input by the user, after the electronic device fills the target text in the target input box of the target application, the electronic device automatically searches for a target location indicated by the target text, and updates an interface of the map application to display a map interface including the target location.
Optionally, in this embodiment of the present invention, the display manner of displaying the target location on the map may be any of the following: displaying a circle identifier on a map interface, wherein the circle identifier can be used for indicating the position of a target place in a map; or displaying a circle identifier on the map interface and displaying target text around the circle identifier, wherein the circle identifier can be used for indicating the position of the target place in the map, and the target text can be used for indicating the name of the target place. The specific display mode can be determined according to the actual use situation, and the embodiment of the present invention is not particularly limited.
Illustratively, as shown in fig. 3 (b), the electronic device updates and displays the interface as shown in fig. 6 (a) in response to a drag input (i.e., a second input) to the "app 7" icon, wherein the application program corresponding to the "app 7" icon is a map-like application program. As shown in fig. 6 (a), a chat interface of a certain chat-type application is displayed in the first screen 001 of the electronic device, a search interface of a map application corresponding to the application 7 is displayed in the second screen 002 of the electronic device, and the electronic device fills "beijing city, XX area, XXX hotel" (i.e., target text) into the target input box 004 of the map application in response to the drag input (i.e., second input). As such, the electronic device may search for the target location indicated by "beijing city, XX zone, XXX hotel", as shown in (b) of fig. 6, and display a map interface in the second screen 002 of the electronic device, where an identifier 005 in the map interface indicates a location of "beijing city, XX zone, XXX hotel" in the map.
It is to be understood that, in the embodiment of the present invention, in a case where the target application is a map-type application, the electronic device may automatically fill the target text into a target input box of the target application in response to the second input, and the electronic device may search for a target location indicated by the target text and display a map including the target location. Therefore, the user can directly search the target location indicated by the target text conveniently, the complex operation that the user switches the application program in the same screen and then pastes the target text for searching is avoided, the convenience of user operation is improved, and the time of the user is saved.
Optionally, in conjunction with fig. 4, as shown in fig. 7, the target application is a calendar-type application. The step 104a may be realized by the following steps 104a1 and 104a 2.
Step 104a1, the electronic device creates a target schedule including at least one schedule option in response to the second input.
Step 104a2, the electronic device fills the target text into the input box of the at least one calendar option.
It should be noted that, in the embodiment of the present invention, the created target schedule may include at least one schedule option, and each schedule option may include an input box of a schedule option. Illustratively, the newly created target schedule may include: time, place, content and remark four calendar options, each of which has a corresponding input box. E.g., a time schedule option, corresponding to an input box with a time schedule option in which the user can edit the time of the schedule option.
Optionally, in this embodiment of the present invention, the electronic device may split the target text according to a first preset rule, and fill part of the content of the target text into the at least one input box. The electronic equipment can also fill all the target texts into one input box according to a second preset rule, and automatically fill the electronic equipment with the contents of the input boxes except the input box.
It should be noted that, in the embodiment of the present invention, the filling of the target text into the input box of the at least one schedule option may specifically be a partial input box filling partial content of the target text into the input box of the at least one schedule option. For example, the newly created target schedule may include: the electronic equipment can split the target text and correspondingly fill the time input box, the place input box and the content input box, namely the electronic equipment can fill part of the target text into three input boxes of the four input boxes, and the four input boxes are not required to be completely filled.
Illustratively, as shown in fig. 8 (a), a chat interface of a certain chat-type application is displayed in the first screen 001 of the electronic device, and a desktop, which may include a plurality of application icons, is displayed in the second screen 002 of the electronic device, wherein "application 6" is an icon of a schedule-type application. The user may long press a piece of text 020 in the chat interface in the first screen 001, and the electronic device selects the piece of text 020 as the target text in response to the long press input (i.e., the first input). Then, after selecting the target text in the first screen 001, the user may drag the target text directly to the target area 003 in the second screen 002, as shown in (b) of fig. 8, the target area 003 being displayed with the icon "app 6" of the schedule-like application. In response to the drag input (i.e., the second input), the electronic device creates a target schedule that may include four schedule options of "time", "place", "content", and "remark", as shown in fig. 9, the electronic device may split the target text and correspondingly fill the content of the target text in the input boxes of the four schedule options of "time", "place", "content", and "remark" of the newly-built schedule interface displayed in the second screen 002.
It can be understood that, in the embodiment of the present invention, in a case that the target application is a schedule-type application, the electronic device may create a target schedule including at least one schedule option in response to the second input, and fill the target text into the input box of the at least one schedule option, so that a new schedule creation operation can be easily and conveniently completed, and a new schedule is prevented from being created by repeating a copy and paste operation, thereby simplifying an operation process of the new schedule creation and saving time of a user.
Optionally, in the embodiment of the present invention, after the step 103, the text processing method provided in the embodiment of the present invention may further include the following step 106.
And 106, the electronic equipment responds to the second input and displays prompt information.
The prompt message can be used for prompting the user that the target application program has the function of executing the target operation.
The step 106 is executed after the step 103 and before the step 104, and the user can determine whether to execute the target operation based on the function of prompting that the target application program displayed in the step 106 has the function of executing the target operation.
Optionally, in the embodiment of the present invention, the display form of the prompt information may be any of the following: displaying text prompt information around the target area; displaying a prompt identifier around the target area, wherein the prompt identifier prompts a user that the target application program has a function of executing target operation; or displaying the text prompt information around the target area, and enabling the voice user target application program to have the function of executing the target operation. The specific display mode may be determined according to actual use requirements, and the embodiment of the present invention is not particularly limited.
For example, as shown in (b) in fig. 3, when the user makes a second input to the icon of "application 7" in the target area 003, a prompt message "search address" is displayed in the upper right corner of the target area 003, and the "search address" prompt message may be used to prompt the user to search for an address through the target application program corresponding to the icon of "application 7".
Illustratively, as shown in (b) in fig. 8, when the user makes a second input to the icon of "application 6" in the target area 003, a prompt message "new schedule" is displayed at the upper right corner of the target area 003, and the prompt message "new schedule" can be used to prompt the user to create a schedule through the target application corresponding to the icon of "application 6".
It can be understood that, in the embodiment of the present invention, since the electronic device, in response to the second input, may display a prompt message prompting that the target application has a function of executing the target operation, the user may determine whether to execute the target operation according to the prompt message, thereby facilitating the use of the user.
Optionally, in the embodiment of the present invention, with reference to fig. 2, as shown in fig. 10, the object displayed in the target area is a first input box in the map application, and no display content is in the first input box. The step 104 can be realized by the following steps 104b1 and 104b 2.
Step 104b1, the electronic device, in response to the second input, fills the target text into the first input box.
Step 104b2, the electronic device searches for the target location indicated by the target text and displays a map including the target location.
In an embodiment of the present invention, the first input box is an input box located in the target area and having no display content.
Optionally, in this embodiment of the present invention, the target application is a map application, and an interface of the map application may include a plurality of input boxes. The first input box is an input box located in the target area in the plurality of input boxes.
Optionally, in this embodiment of the present invention, the map application program may further include a second input box, and the electronic device performs automatic filling on the second input box. Specifically, the electronic device may point the current location of the user, and fill the address of the current location into the second input box; the electronic device may also fill the preset address into the second input box according to the preset address of the user, where the preset address may be a home address or an office address set by the user.
Illustratively, as shown in fig. 11 (a), a chat interface of a certain chat type application is displayed in the first screen 001 of the electronic device, a search interface of a map application is displayed in the second screen 002 of the electronic device, the electronic device fills "beijing city, XX area, XXX hotel" (i.e., target text) into the first input box 006, i.e., into the input box of the "end" position in response to the drag input (i.e., the second input), and the electronic device fills the address of the current position of the user into the second input box (i.e., into the input box of the "end" position in the drawing). In this way, the electronic device may search for the target location indicated by "beijing city, XX area, XXX hotel", as shown in (b) of fig. 11, display a map interface in the second screen 002 of the electronic device, and plan a travel path with "beijing west station" as a starting point and "beijing city, XX area, XXX hotel" as an end point (i.e., identify the location indicated by 005), and display the travel path in the map interface.
It can be understood that, in the embodiment of the present invention, the electronic device may fill the target text in the first input box of the map application, search the target address indicated by the target text, and display the map including the target location, so that the user can directly search the target location indicated by the target text, and plan the travel path using the electronic device, thereby improving the convenience of the user in operation and saving the user time.
Optionally, in the embodiment of the present invention, with reference to fig. 2, as shown in fig. 12, the object displayed in the target area is an input box in a schedule application, and an interface of the schedule application may include an input box of at least one schedule option. The step 104 may be specifically realized by the following steps 104c1 and 104c2, or by the following steps 104c1 and 104c 3.
Step 104c1, the electronic device displays the first control and the second control in the interface of the schedule-type application.
Optionally, in the embodiment of the present invention, in a case that the second screen displays the interface of the schedule application, the user may perform a second input on the inputtable frame in the target area, and the electronic device displays the first control and the second control on the interface of the schedule application in response to the second input.
Optionally, in this embodiment of the present invention, a display form of the first control and the second control may be any of the following: and respectively displaying the first control and the second control in a floating manner on the interface of the schedule application program, or displaying a target control on the interface of the schedule application program, wherein the target control can comprise the first control and the second control. The specific display mode may be determined according to actual use requirements, and the embodiment of the present invention is not particularly limited.
It should be noted that, in the embodiment of the present invention, an example that a target control is displayed on the interface of the schedule-class application, where the target control includes a first control and a second control is taken as an example for illustration.
Step 104c2, if the electronic device receives a third input to the first control, in response to the third input, filling the target text into the input box of the at least one schedule option.
Optionally, in an embodiment of the present invention, the third input may be a touch click input of the first control. Specifically, the touch input may be any one of the following: click input, double click input, long press input, slide input, and the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited.
Optionally, in this embodiment of the present invention, the electronic device may split the target text according to a first preset rule, and fill a part of the content of the target text into the corresponding at least one input box. Specifically, the target text can be split according to at least one schedule option; or splitting according to preset features, wherein the preset features can be features determined according to at least one schedule option, and the preset features can be at least one of the following: time characteristics, address characteristics, keyword characteristics, and the like.
For example, as shown in (a) of fig. 13, in a case where the second screen 002 displays the interface of the schedule-type application, the user may make a second input to an inputtable box within the target region, and the electronic device displays a target control 007 on the interface of the schedule-type application in response to the second input, the target control 007 including a first control "new schedule" and a second control "filled text". If the user makes a click input to the first control "new schedule", the electronic device creates a target schedule including four schedule options of "time", "place", "content", and "remark" in response to the click input (i.e., the third input), as shown in (b) of fig. 13, the electronic device splits the target text according to a first preset rule and fills in input boxes of the four schedule options of "time", "place", "content", and "remark".
And step 104c3, if the electronic device receives a fourth input to the second control, filling the target text into the input box displayed in the target area in response to the fourth input.
It should be noted that, in the embodiment of the present invention, an input manner of the fourth input is similar to an input manner of the third input, and reference may be made to the detailed description of the third input, which is not repeated herein.
Optionally, in this embodiment of the present invention, the electronic device may fill the target text into the input box displayed in the target area according to a second preset rule. The second preset rule may specifically be filling according to a preset format. Wherein the preset format of the second preset rule may include at least one of: font format of the filler content, paragraph format of the filler content, composition format of the filler content, etc. The method can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited.
For example, as shown in (a) of fig. 14, in a case where the second screen 002 displays the interface of the schedule-type application, the user may make a second input to an inputtable box within the target region, and the electronic device displays a target control 007 on the interface of the schedule-type application in response to the second input, the target control 007 may include a first control "new schedule" and a second control "filled text". If the user makes a single-click input to the second control "fill text", the electronic device responds to the single-click input (i.e., the fourth input), as shown in fig. 14 (b), and fills the target text into the input box of the "content" schedule option according to a second preset rule.
It can be understood that, in the embodiment of the present invention, when the second screen displays the interface of the schedule application, the user may perform a second input into the target area, the electronic device displays the first control and the second control in the interface of the schedule application in response to the second input, and the user may input the first control or the second control according to the actual use requirement and execute the corresponding target operation. Therefore, the user can flexibly select to create the schedule or fill the text through the first control and the second control, and the richness of the user operation is improved.
In the embodiment of the present invention, the text processing method shown in each of the above drawings is exemplarily described by referring to one drawing in the embodiment of the present invention. In specific implementation, the text processing method shown in each of the above figures may also be implemented by combining any other figures that may be combined, which are illustrated in the above embodiments, and are not described herein again.
As shown in fig. 15, an embodiment of the invention provides an electronic device 1500. The electronic device may comprise a receiving module 1501 and a processing module 1502. The receiving module 1501 may be configured to receive a first input of a target text in a first screen of an electronic device. Processing module 1502 may be configured to mark the target text as a selected state in response to the first input received by receiving module 1501. The receiving module 1501 may be further configured to receive a second input to a target area in a second screen of the electronic device. The processing module 1502 may be further configured to, in response to the second input received by the receiving module 1501, perform a target operation on the target text, where the target operation is associated with a type of a target object displayed in the target area.
Optionally, in the embodiment of the present invention, the object displayed in the target area is an icon of the target application program. The processing module 1502 may be specifically configured to fill the target text into the target input box of the target application.
In the embodiment of the invention, under the condition that the object displayed in the target area is the icon of the target application program, the electronic equipment can respond to the second input and automatically fill the target text into the target input box of the target application program without pasting or inputting again by the user, so that the user can conveniently use the target application program to perform target operation on the target text, and the convenience of the user operation is improved.
Optionally, in the embodiment of the present invention, the target application is a map application. The processing module 1502 may be further configured to search for a target location indicated by the target text and display a map including the target location.
In an embodiment of the present invention, in a case where the target application is a map-type application, the electronic device may automatically fill the target text into a target input box of the target application in response to the second input, and the electronic device may search for a target location indicated by the target text and display a map including the target location. Therefore, the user can directly search the target location indicated by the target text conveniently, the complex operation that the user switches the application program in the same screen and then pastes the target text for searching is avoided, the convenience of user operation is improved, and the time of the user is saved.
Optionally, in the embodiment of the present invention, the target application is a schedule-type application. The processing module 1502 may be specifically configured to create a target schedule that may include at least one schedule option, and fill the target text into an input box of the at least one schedule option.
In the embodiment of the invention, under the condition that the target application program is a schedule application program, the electronic equipment can respond to the second input, create the target schedule comprising at least one schedule option and fill the target text into the input frame of the at least one schedule option, so that the new schedule creation operation can be easily and conveniently completed, the new schedule can be avoided being created by repeated copying and pasting operations, the operation process of the new schedule can be simplified, and the time of a user can be saved.
Optionally, with reference to fig. 15, as shown in fig. 16, the electronic device 1500 according to the embodiment of the present invention may further include a display module 1503. The display module 1503 may be configured to display a prompt message in response to the second input received by the receiving module 1501, where the prompt message may be used to prompt the user that the target application has a function of performing the target operation.
In the embodiment of the invention, the electronic equipment can display the function prompt information for prompting that the target application program has the function of executing the target operation in response to the second input, so that a user can determine whether to execute the target operation according to the prompt information, thereby facilitating the use of the user.
Optionally, in this embodiment of the present invention, the object displayed in the target area is a first input box in the map application. The processing module 1502 may be specifically configured to fill the first input box with the target text, search for a target location indicated by the target text, and display a map including the target location.
In the embodiment of the invention, the electronic equipment can fill the target text into the first input box of the map application program, search the target address indicated by the target text and display the map comprising the target location, so that a user can conveniently and directly search the target location indicated by the target text and plan the travel path by using the electronic equipment, thereby improving the convenience of operation of the user and saving the time of the user.
Optionally, as shown in fig. 16, in the embodiment of the present invention, the object displayed in the target area is an input box in a schedule application, the interface of the schedule application may include an input box of at least one schedule option, and the electronic device 1500 may further include a display module 1503. The display module 1503 may be specifically configured to display a first control and a second control in the interface of the calendar application. The processing module 1502 may be specifically configured to, if a third input to the first control is received, fill the target text into the input box of the at least one schedule option in response to the third input. And if a fourth input to the second control is received, filling the target text into the input box displayed in the target area in response to the fourth input.
In the embodiment of the invention, under the condition that the second screen displays the interface of the schedule application program, the user can perform second input in the target area, the electronic equipment responds to the second input to display the first control and the second control in the interface of the schedule application program, and the user can input the first control or the second control according to actual use requirements and execute corresponding target operation. Therefore, the user can flexibly select to create the schedule or fill the text through the first control and the second control, and the richness of the user operation is improved.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
The embodiment of the invention provides electronic equipment, wherein if a user wants to copy a text in one application program to another application program and execute corresponding operation in the other application program, the user can trigger the electronic equipment to respond to a first input of a target text in an application program interface displayed in a first screen and mark the target text into a selected state; and the user can also trigger the electronic equipment to respond to a second input through the second input of the target area in the second screen, and execute corresponding target operation on the target text in another application program according to the type of the object displayed in the target area. Therefore, the process of copying the text from one application program, pasting the text on another application program and executing corresponding operation can be simplified, and the convenience of user operation is further improved.
Fig. 17 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention. As shown in fig. 17, the electronic device 200 includes, but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, and power supply 211. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 17 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
The user input unit 207 is used for receiving a first input of a target text in a first screen of the electronic equipment. A processor 210 for marking the target text in a selected state in response to the first input received by the user input unit 207. The user input unit 207 is further configured to receive a second input to a target area in a second screen of the electronic device. The processor 210 is further configured to perform a target operation on the target text in response to the second input received by the user input unit 207, where the target operation is associated with a type of the target object displayed in the target area.
The embodiment of the invention provides electronic equipment, wherein if a user wants to copy a text in one application program to another application program and execute corresponding operation in the other application program, the user can trigger the electronic equipment to respond to a first input of a target text in an application program interface displayed in a first screen and mark the target text into a selected state; and the user can also trigger the electronic equipment to respond to a second input through the second input of the target area in the second screen, and execute corresponding target operation on the target text in another application program according to the type of the object displayed in the target area. Therefore, the process of copying the text from one application program, pasting the text on another application program and executing corresponding operation can be simplified, and the convenience of user operation is further improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 201 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 210; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 201 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 202, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output as sound. Also, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic apparatus 200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 204 is used to receive an audio or video signal. The input unit 204 may include a Graphics Processing Unit (GPU) 2041, a microphone 2042, and a camera module 2043, and the graphics processor 2041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 206. The image frames processed by the graphic processor 2041 may be stored in the memory 209 (or other storage medium) or transmitted via the radio frequency unit 201 or the network module 202. The microphone 2042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 201 in case of a phone call mode. The camera module 2043 collects images and transmits the collected images to the graphic processor 2041.
The electronic device 200 also includes at least one sensor 205, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 2061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 2061 and/or the backlight when the electronic device 200 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 205 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. Touch panel 2071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 2071 (e.g., user operation on or near the touch panel 2071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 2071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 210, and receives and executes commands sent by the processor 210. In addition, the touch panel 2071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 207 may include other input devices 2072 in addition to the touch panel 2071. In particular, the other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not further described herein.
Further, a touch panel 2071 may be overlaid on the display panel 2061, and when the touch panel 2071 detects a touch operation on or near the touch panel 2071, the touch panel is transmitted to the processor 210 to determine the type of the touch event, and then the processor 210 provides a corresponding visual output on the display panel 2061 according to the type of the touch event. Although the touch panel 2071 and the display panel 2061 are shown as two separate components in fig. 17 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 2071 and the display panel 2061 may be integrated to implement the input and output functions of the electronic device, and are not limited herein.
The interface unit 208 is an interface for connecting an external device to the electronic apparatus 200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 200 or may be used to transmit data between the electronic apparatus 200 and the external device.
The memory 209 may be used to store software programs as well as various data. The memory 209 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 209 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 210 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 209 and calling data stored in the memory 209, thereby performing overall monitoring of the electronic device. Processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 210.
The electronic device 200 may further include a power source 211 (such as a battery) for supplying power to each component, and optionally, the power source 211 may be logically connected to the processor 210 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 200 includes some functional modules that are not shown, and thus are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 210 as shown in fig. 17, a memory 209, and a computer program that is stored in the memory 209 and is executable on the processor 210, and when the computer program is executed by the processor 210, the processes of the foregoing method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. Examples of the computer-readable storage medium include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk and an optical disk.
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.
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 invention 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 an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. A text processing method is applied to an electronic device comprising a first screen and a second screen, and is characterized by comprising the following steps:
receiving a first input of target text in the first screen;
in response to the first input, marking the target text as a selected state;
receiving a second input to a target area in the second screen;
in response to the second input, performing a target operation on the target text, the target operation being associated with a type of target object displayed by the target area.
2. The method of claim 1, wherein the object displayed by the target area is an icon of a target application;
the executing the target operation on the target text comprises:
and filling the target text into a target input box of the target application program.
3. The method of claim 2, wherein the target application is a map class application;
after the target text is filled into the target input box of the target application program, the method further comprises:
searching for a target location indicated by the target text, and displaying a map including the target location.
4. The method of claim 2, wherein the target application is a calendar-type application;
the populating the target text into a target input box of the target application includes:
creating a target schedule including at least one schedule option;
and filling the target text into an input box of the at least one schedule option.
5. The method of any of claims 2-4, wherein after receiving the second input to the target area in the second screen, the method further comprises:
and responding to the second input, and displaying prompt information for prompting the user that the target application program has the function of executing the target operation.
6. The method of claim 1, wherein the object displayed in the target area is a first input box in a map application program, and the first input box has no display content;
the executing the target operation on the target text comprises:
filling the target text into the first input box;
searching for a target location indicated by the target text, and displaying a map including the target location.
7. The method according to claim 1, wherein the object displayed in the target area is an input box in a schedule application program, and the interface of the schedule application program comprises an input box of at least one schedule option;
the executing the target operation on the target text comprises:
displaying a first control and a second control in an interface of the schedule application program;
if a third input to the first control is received, filling the target text into an input box of the at least one schedule option in response to the third input;
and if a fourth input to the second control is received, responding to the fourth input, and filling the target text into an input box displayed in the target area.
8. An electronic device comprising a first screen and a second screen, the electronic device comprising: the device comprises a receiving module and a processing module;
the receiving module is used for receiving a first input of a target text in the first screen;
the processing module is used for responding to the first input received by the receiving module and marking the target text into a selected state;
the receiving module is further used for receiving a second input of a target area in the second screen;
the processing module is further configured to execute a target operation on the target text in response to the second input received by the receiving module, where the target operation is associated with a type of a target object displayed in the target area.
9. The electronic device of claim 8, wherein the object displayed by the target area is an icon of a target application;
the processing module is specifically configured to fill the target text into a target input box of the target application program.
10. The electronic device of claim 9, wherein the target application is a map-like application;
the processing module is further configured to search for a target location indicated by the target text and display a map including the target location.
11. The electronic device of claim 9, wherein the target application is a calendar-type application;
the processing module is specifically configured to create a target schedule including at least one schedule option, and fill the target text into an input box of the at least one schedule option.
12. The electronic device of any of claims 9-11, further comprising a display module;
and the display module is used for responding to the second input received by the receiving module and displaying prompt information, and the prompt information is used for prompting a user that the target application program has a function of executing the target operation.
13. The electronic device of claim 8, wherein the object displayed in the target area is a first input box in a map-class application, and no content is displayed in the first input box;
the processing module is specifically configured to fill the target text into the first input box, search for a target location indicated by the target text, and display a map including the target location.
14. The electronic device of claim 8, wherein the object displayed in the target area is an input box in a schedule application, the interface of the schedule application comprises an input box of at least one schedule option, and the electronic device further comprises a display module;
the display module is specifically used for displaying a first control and a second control in the interface of the schedule application program;
the processing module is specifically configured to, if a third input to the first control is received, respond to the third input and fill the target text into the input box of the at least one schedule option; and if a fourth input to the second control is received, responding to the fourth input, and filling the target text into an input box displayed in the target area.
15. An electronic device, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the text processing method according to any one of claims 1 to 7.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the text processing method according to any one of claims 1 to 7.
CN201911285687.7A 2019-12-13 2019-12-13 Text processing method and electronic equipment Pending CN111124709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911285687.7A CN111124709A (en) 2019-12-13 2019-12-13 Text processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911285687.7A CN111124709A (en) 2019-12-13 2019-12-13 Text processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111124709A true CN111124709A (en) 2020-05-08

Family

ID=70498762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911285687.7A Pending CN111124709A (en) 2019-12-13 2019-12-13 Text processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111124709A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010072A (en) * 2021-04-27 2021-06-22 维沃移动通信(杭州)有限公司 Searching method and device, electronic equipment and readable storage medium
CN113655894A (en) * 2021-08-16 2021-11-16 北京百度网讯科技有限公司 Text input method and device, electronic equipment and storage medium
CN115033142A (en) * 2021-11-12 2022-09-09 荣耀终端有限公司 Application interaction method and electronic equipment
WO2022222864A1 (en) * 2021-04-20 2022-10-27 维沃移动通信(杭州)有限公司 Document processing method and apparatus, and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110161880A1 (en) * 2009-12-29 2011-06-30 Cellco Partnership D/B/A Verizon Wireless Browser based objects for copying and sending operations
CN106951220A (en) * 2016-01-06 2017-07-14 腾讯科技(深圳)有限公司 The method and apparatus of data processing
CN107145398A (en) * 2017-04-17 2017-09-08 北京小米移动软件有限公司 Processing method, device and the equipment of information
CN109471742A (en) * 2018-11-07 2019-03-15 Oppo广东移动通信有限公司 Information processing method, device, electronic equipment and readable storage medium storing program for executing
CN109828731A (en) * 2018-12-18 2019-05-31 维沃移动通信有限公司 A kind of searching method and terminal device
CN110209961A (en) * 2019-05-31 2019-09-06 三角兽(北京)科技有限公司 It is a kind of based on sharing the method and device of service of being applied
CN110347979A (en) * 2019-07-18 2019-10-18 网易(杭州)网络有限公司 Information sharing method, device and touch control terminal, storage medium of the split screen across application
CN110489031A (en) * 2019-07-26 2019-11-22 维沃移动通信有限公司 Content display method and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110161880A1 (en) * 2009-12-29 2011-06-30 Cellco Partnership D/B/A Verizon Wireless Browser based objects for copying and sending operations
CN106951220A (en) * 2016-01-06 2017-07-14 腾讯科技(深圳)有限公司 The method and apparatus of data processing
CN107145398A (en) * 2017-04-17 2017-09-08 北京小米移动软件有限公司 Processing method, device and the equipment of information
CN109471742A (en) * 2018-11-07 2019-03-15 Oppo广东移动通信有限公司 Information processing method, device, electronic equipment and readable storage medium storing program for executing
CN109828731A (en) * 2018-12-18 2019-05-31 维沃移动通信有限公司 A kind of searching method and terminal device
CN110209961A (en) * 2019-05-31 2019-09-06 三角兽(北京)科技有限公司 It is a kind of based on sharing the method and device of service of being applied
CN110347979A (en) * 2019-07-18 2019-10-18 网易(杭州)网络有限公司 Information sharing method, device and touch control terminal, storage medium of the split screen across application
CN110489031A (en) * 2019-07-26 2019-11-22 维沃移动通信有限公司 Content display method and terminal device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022222864A1 (en) * 2021-04-20 2022-10-27 维沃移动通信(杭州)有限公司 Document processing method and apparatus, and electronic device
CN113010072A (en) * 2021-04-27 2021-06-22 维沃移动通信(杭州)有限公司 Searching method and device, electronic equipment and readable storage medium
CN113655894A (en) * 2021-08-16 2021-11-16 北京百度网讯科技有限公司 Text input method and device, electronic equipment and storage medium
CN115033142A (en) * 2021-11-12 2022-09-09 荣耀终端有限公司 Application interaction method and electronic equipment
CN115033142B (en) * 2021-11-12 2023-09-12 荣耀终端有限公司 Application interaction method and electronic equipment

Similar Documents

Publication Publication Date Title
CN110851051B (en) Object sharing method and electronic equipment
CN111142730B (en) Split-screen display method and electronic equipment
CN109917995B (en) Object processing method and terminal equipment
CN109614061B (en) Display method and terminal
CN111338530B (en) Control method of application program icon and electronic equipment
CN107943390B (en) Character copying method and mobile terminal
CN111142723B (en) Icon moving method and electronic equipment
CN110069188B (en) Identification display method and terminal equipment
CN110888707A (en) Message sending method and electronic equipment
CN109857289B (en) Display control method and terminal equipment
CN111124709A (en) Text processing method and electronic equipment
CN110752981B (en) Information control method and electronic equipment
CN111596817B (en) Icon moving method and electronic equipment
CN110225180B (en) Content input method and terminal equipment
CN109828731B (en) Searching method and terminal equipment
CN111026299A (en) Information sharing method and electronic equipment
CN110908554B (en) Long screenshot method and terminal device
CN110703972B (en) File control method and electronic equipment
CN110647277A (en) Control method and terminal equipment
CN111124231B (en) Picture generation method and electronic equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN111274842A (en) Method for identifying coded image and electronic equipment
CN111399715B (en) Interface display method and electronic equipment
CN110909180B (en) Media file processing method and electronic equipment
CN111427496B (en) Parameter adjusting method 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