CN112882623A - Text processing method and device, electronic equipment and storage medium - Google Patents

Text processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112882623A
CN112882623A CN202110180447.1A CN202110180447A CN112882623A CN 112882623 A CN112882623 A CN 112882623A CN 202110180447 A CN202110180447 A CN 202110180447A CN 112882623 A CN112882623 A CN 112882623A
Authority
CN
China
Prior art keywords
application
target
text
input
icon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110180447.1A
Other languages
Chinese (zh)
Other versions
CN112882623B (en
Inventor
刘全才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110180447.1A priority Critical patent/CN112882623B/en
Publication of CN112882623A publication Critical patent/CN112882623A/en
Application granted granted Critical
Publication of CN112882623B publication Critical patent/CN112882623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • 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/0485Scrolling or panning
    • 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/0486Drag-and-drop
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a text processing method, a text processing device, electronic equipment and a storage medium, which are applied to the technical field of electronics, wherein the method comprises the following steps: receiving first input of a user for a current page, and displaying at least one application icon to be selected in a preset area of a display interface; receiving a second input of the user for the icon of the application to be selected, and taking the corresponding application to be selected by the second input as a target application; determining a target text associated with a target application in a current page; and running the target application, and executing the pasting operation of the target text in the target application. In the embodiment of the application, the user can select the target application from the applications to be selected by displaying the icon of the applications to be selected, so that the time that the user needs to search for the target application in all the applications is shortened, and in addition, the efficiency of the user in selecting the target text needing to be copied in the current page can be improved by determining the target text related to the target application in the current page.

Description

Text processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a text processing method and apparatus, an electronic device, and a storage medium.
Background
At present, copying and pasting text information provides convenience for a user to use a terminal device, but in some scenarios, there are also cumbersome situations, for example, when the chat information in a chat application is as follows:
"invite you to attend parent-child baking course of four stories of large order
From 9 am to 10 am of the day, the familiar environment E.E. can be reached 10 minutes in advance
Address: the basalt district in Nanjing City considers the home-oriented 59 # major quality education center;
to reach the relation between the teacher of the young patronage "
When the chat information needs to be copied in a navigation application, namely when the position appearing in the chat record needs to be searched, the prior art is to click the chat information, drag a dividing line to select copied contents, such as a Shuozhi quality education center No. 59 of the basalt zone in Nanjing City, open the navigation application, select and paste, and achieve the purposes of copying and pasting; or selecting the chat information, clicking to copy, then opening the navigation application, selecting to paste, and then manually screening useless information from the pasted chat information. Therefore, the problems of complex and tedious operation process of copying and pasting the text in the prior art exist.
Disclosure of Invention
The embodiment of the application aims to provide a text processing method, which can solve the problem that the operation process is complex and tedious when a user copies and pastes text information at present.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a text processing method, where the method includes:
receiving a first input of a user for a current page, and responding to the first input to display at least one application icon to be selected in a preset area of a display interface;
receiving a second input of the user for the icon of the application to be selected, responding to the second input, and taking the application to be selected corresponding to the icon of the application to be selected by the second input as a target application;
determining a target text associated with the target application in the current page;
and running the target application, and executing the pasting operation of the target text in the target application.
In a second aspect, an embodiment of the present application provides a text processing apparatus, which specifically includes:
the display module is used for receiving a first input of a user for a current page, responding to the first input, and displaying at least one application icon to be selected in a preset area of a display interface;
the selection module is used for receiving a second input of the user for the application icon to be selected, responding to the second input, and taking the application to be selected corresponding to the application icon to be selected by the second input as a target application;
the determining module is used for determining a target text associated with the target application in the current page;
and the pasting module is used for running the target application and executing the pasting operation of the target text in the target application.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to 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 according to 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 according to the first aspect.
In an embodiment of the present application, the method includes: receiving a first input of a user for a current page, and responding to the first input to display at least one application icon to be selected in a preset area of a display interface; receiving a second input of the user for the icon of the application to be selected, responding to the second input, and taking the application to be selected corresponding to the icon of the application to be selected by the second input as a target application; determining a target text associated with the target application in the current page; and running the target application, and executing the pasting operation of the target text in the target application. In the embodiment of the application, the application icon to be selected is displayed in the preset area, so that a user can select the target application from the applications to be selected corresponding to the application icon to be selected, the time that the user needs to search for the target application in all the applications is shortened, in addition, the target text related to the target application is determined in the current page, the efficiency of selecting the target text to be copied in the current page by the user can be improved, and the efficiency of copying and pasting operations of the text by the user is further improved.
Drawings
FIG. 1 is a flow chart illustrating the steps of a first text processing method in an embodiment of the present application;
FIG. 2 is a flow chart illustrating steps of a second method of text processing in an embodiment of the present application;
FIG. 3 is a flow chart illustrating the steps of a third text processing method in an embodiment of the present application;
FIG. 4 is a schematic diagram of a display interface in an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a screenshot image being segmented in an embodiment of the present application;
FIG. 6 is a schematic diagram of another display interface in an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating segmentation of another screenshot image in an embodiment of the present application;
FIG. 8 is a schematic diagram of yet another display interface in an embodiment of the present application;
fig. 9 is a block diagram showing a structure of a text processing apparatus in an embodiment of the present application;
fig. 10 is a block diagram showing a structure of an electronic device in an embodiment of the present application;
fig. 11 shows a hardware configuration diagram of an electronic device in 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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one.
The method for processing text provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of a first text processing method according to an embodiment of the present application is shown, which may specifically include the following steps:
step 101, receiving a first input of a user for a current page, and displaying at least one application icon to be selected in a preset area of a display interface in response to the first input.
In an embodiment of the present application, the current page includes: a chat page, a video page, a shopping page, or any other page. Wherein the current page may have text content therein.
In addition, the first input may be a preset touch operation or a key operation; for example, when the current page is displayed on the display interface, the user completes the first input by continuously clicking a screen for a preset number of times, or the user completes the first input by pressing one or more combined shortcut keys on the side of the electronic device.
Further, after the user completes the first input, at least one to-be-selected application icon is displayed in a preset area of the display interface, wherein the to-be-selected application icon may be an icon corresponding to a to-be-selected application determined according to text content of a current page, for example, if the text content of the current page has content of an address, a navigation application icon is displayed on the display interface, if the text content of the current page has content of time, at least one of time-related application icons such as a calendar application icon and an alarm clock application icon is displayed on the display interface, if the text content of the current page has content of a video, a video application icon is displayed on the display interface, and if the text content of the current page has content of a commodity, a shopping application icon is displayed on the display interface; and a plurality of displayed application icons to be selected can be displayed according to the text content.
In addition, the application to be selected corresponding to the application icon to be selected may be determined according to the application name, and specifically, classifying all applications in the electronic device according to the application name includes: video class, shopping class, navigation class, payment class, chat class, take-away class, and other classes; each category of applications includes one or more applications. For example, video classes include: application A, application B and application C; the shopping category includes: application D, application E; and the like; then, acquiring historical use records of the applications by the user, and determining at least one application icon as an application icon to be selected in each type of application according to the historical use records; wherein the historical usage record includes: the number of times of use and/or the frequency of use within a preset time, etc. For example, an application a is selected in a video category, an application E is selected in a shopping category, an application is selected in a payment category, a chat category, a takeout category and other categories in sequence, and the applications are combined into the application to be selected. In addition, one of the applications can be selected as the application to be selected according to the sorting condition of the application icons in the original application interface, for example, if the sorting of the application a is earlier than that of the application B and the application C, the application a is selected in the video class.
In addition, the application to be selected may be determined according to a history usage record of all applications in the terminal, wherein the history usage record includes: and the number of times of use and/or the frequency of use in the preset time are/is equal to or greater than a preset threshold value, and the application with the number of times of use and/or the frequency of use greater than the preset threshold value is taken as the application to be selected.
Moreover, the applications to be selected may also be preset by the user, for example, if the user preselects the applications to be selected as the application a, the application B, and the application E, then when the user executes the first input based on the current page, the icons of the applications to be selected corresponding to the applications to be selected preset by the user are all displayed.
In the embodiment of the present application, the application to be selected may also be determined according to other manners, which are not limited herein.
In this embodiment of the present application, the preset area may be a fixed area on the current page, for example, an edge position of the display interface; or may be an area of the current page without text content. In addition, when the icon of the application to be selected is displayed, a new page can be opened to display the icon of the application to be selected.
The application icon to be selected can be displayed on the display interface in the form of an application identifier.
In the embodiment of the application, the purpose of the first input may be to select a current page and indicate that a user needs to perform a copy operation on text content of the current page, wherein when the user performs the first input, the user may directly display an icon of an application to be selected on a display interface for the user to select, and does not need to quit the current interface, and then search for a needed application among all applications of the electronic device, so that time required by the user to search for a target application can be saved.
And 102, receiving a second input of the user for the icon of the application to be selected, responding to the second input, and taking the application to be selected corresponding to the icon of the application to be selected by the second input as a target application.
In an embodiment of the present application, the second input comprises: one of click operation, drag operation, or voice input; wherein, the clicking operation can be single clicking or double clicking; the dragging operation can be dragging the application icon to be selected to the designated area; the voice input may be a user inputting a name of the application to be selected by voice.
The second input is used for selecting a target application from the applications to be selected, wherein the selected target application can be one or more; specifically, a user clicks one or more to-be-selected application icons within a preset time, and then the to-be-selected applications corresponding to the clicked to-be-selected application icons serve as target applications; or the user drags one or more to-be-selected application icons to the designated area, and then the to-be-selected application corresponding to the to-be-selected application icon in the designated area is used as the target application; or the user inputs one or more applications to be selected in a voice mode within a preset time, and the applications to be selected in the voice mode are used as target applications. In the embodiment of the present application, the target application may also be selected from the applications to be selected in other ways, which are not limited herein.
Specifically, for example, the text content in the current page is "five pm tomorrow in the country trade third building, and a notebook is required to be carried by the text content"; the application to be selected includes: a clock application, a navigation application, and a shopping application. After the icons of the applications to be selected corresponding to the applications to be selected are displayed in the preset area, if the navigation application is selected correspondingly by the second input of the user, the navigation application is determined as the target application, and if the clock application and the navigation application are selected correspondingly by the second input of the user, the clock application and the navigation application are determined as the target application.
In the embodiment of the application, the application to be selected can be determined according to the text content in the current page. For example, semantic parsing is performed on text content, and according to a semantic parsing result, an application to be selected is searched from installed applications of the mobile terminal, where the semantic parsing mode is not limited in this embodiment of the present application. Of course, if part or all of the applications are not installed in the mobile terminal, the recommendation information of the relevant application icon to be selected can be displayed in the display interface, the user can click the recommendation information of a certain application to install, the subsequent steps can be executed after the installation, and if the user does not install the applications, the process can be ended. In addition, the target keyword can be analyzed from the text content directly according to a preset keyword library associated with the application, after the target keyword is analyzed, the application corresponding to the target keyword can be used as the application to be selected, and the icon of the application to be selected corresponding to the application to be selected is displayed.
In the embodiment of the application, the user identifies the text content of the current page and selects the target application which the user wants to paste the text from the applications to be selected, so that the selected target application is more in line with the requirements of the user.
Step 103, determining a target text associated with the target application in the current page.
In the embodiment of the application, the target text refers to a part of texts in all text contents in the current page; for example, the text content of the current page is "five pm tomorrow in the national trade third building, and a notebook is required to be carried by the current page"; the target text may be at least one of "five pm tomorrow", "country trade" and "notebook".
The application and the text have certain relevance, for example, the text associated with the video application is a text describing a movie; associated with the take-away application is text describing the food; the shopping application is associated with text describing the commodity; associated with the navigation class application is text describing the address.
Further, in the embodiment of the application, the category of the target application can be determined by acquiring the name of the target application; and then determining a target text in the text content by semantically analyzing the text content in the current page. For example, when the target application selected by the user is a navigation application, the text content of the current page is that "five pm in tomorrow opens a trade third building and needs to carry a notebook by itself", and the target text associated with the target application is determined to be a trade by semantic analysis; when the target application selected by the user is a shopping application, determining that the target text associated with the target application is a notebook.
In addition, the incidence relation between the target application and the target text can be established in advance; and determining the target text associated with the target application in the current page through the association relationship.
In the embodiment of the application, the target text in the current page is directly extracted through the target application selected by the user, so that the user is prevented from copying text contents, the target text can be obtained only through manual screening, and the efficiency of obtaining the target text is improved.
And 104, running the target application, and executing the pasting operation of the target text in the target application.
In the embodiment of the application, after the target application is determined, the target application is automatically run, and then the user can paste the target text in the target application.
Specifically, after the target application is operated, a home page of the target application is displayed on a display interface, then a target text is directly pasted in a search box of the home page, and a user can click a search key to directly search; or after the home page is displayed, the page required by the user is further acquired, then the user clicks the paste operation in the search box, and then the paste operation of the target text is completed.
In this embodiment of the application, the target application selected by the second input may be multiple, and then the electronic device may simultaneously run multiple target applications, where one target application may run on the display interface, and the other target applications run in the background, and then the user may complete the paste operation on each target application in sequence. For example, when the target application selected by the user is a navigation application, a clock application, and a shopping application; the corresponding target texts are 'national trade', 'five pm tomorrow' and 'notebook'; the navigation application, the clock application and the shopping application display the navigation application on the display interface and the clock application and the shopping application in the background. After the user finishes the pasting operation of the country trade in the navigation application, the home page corresponding to the clock application can be displayed on the display interface through the sliding operation, and the user can set the alarm clock; then, by continuing the sliding operation, the home page corresponding to the shopping application is displayed on the display interface, and the user can paste the 'notebook' for searching.
Specifically, when a user needs to paste the text content of the current page into a plurality of applications according to requirements, the method can be quickly and conveniently realized.
In the embodiment of the application, after the target application is run, other operations can be executed according to the target text, for example, when the target text is time, the target application is a clock application, and the operation of setting an alarm clock is correspondingly executed; or when the weather application is carried out during the target application, the corresponding target text is the time weather, and the weather corresponding to the time in the target text is acquired after the weather application is operated. For example, for a navigation application, the navigation application may be automatically triggered to start navigating with the destination in the text. By adopting the embodiment of the application, other operations can be executed, and the operation is not limited to the pasting operation and is not limited herein.
It should be noted that, in the embodiment of the present application, an application combination may be recommended according to the text content of the current page, where the application combination includes multiple types of applications to be selected, and then after determining that multiple applications to be selected are selected as target applications, the user may determine to paste the text content into the multiple target applications. Such as navigation classes including: application F, application G; the calendar class includes: application H, application J; for example, if the text content in the current page is "three o' clock in the afternoon today, me at XX member shop, etc.", the text content may be identified, and the navigation application F and the calendar application J are determined to be the applications to be selected, and if the user selects the combination of the application F and the application J at the same time as the target application, the two applications may be run, and then the text content is pasted. Certainly, in practical application, two applications may be run in sequence, and the text content may be pasted respectively. The text content can also be pasted when the application needing foreground display is displayed in the foreground, and the text content can be pasted when the application can be operated in the background and then the application is operated in the background.
In an embodiment of the present application, the method includes: receiving a first input of a user for a current page, and responding to the first input to display at least one application icon to be selected in a preset area of a display interface; receiving a second input of the user for the icon of the application to be selected, responding to the second input, and taking the application to be selected corresponding to the icon of the application to be selected by the second input as a target application; determining a target text associated with the target application in the current page; and running the target application, and executing the pasting operation of the target text in the target application. In the embodiment of the application, the application icon to be selected is displayed in the preset area, so that a user can select the target application from the applications to be selected corresponding to the application icon to be selected, the time that the user needs to search for the target application in all applications is shortened, moreover, the corresponding target text is determined in the current page through the target application, the operation of manually screening the target text by the user can be avoided, the user can conveniently obtain the target text, in addition, the efficiency of selecting the target text to be copied in the current page by the user can be improved through determining the target text related to the target application in the current page, and further, the efficiency of copying and pasting operations on the text by the user is improved.
Referring to fig. 2, a flowchart illustrating steps of a second text processing method according to an embodiment of the present application is shown, and specifically may include the following steps:
step 201, receiving a first input of a user for a current page, and identifying text content in the current page in response to the first input.
In the embodiment of the application, the current page has text content. The first input may be a preset touch operation or a key operation; and identifying the text content in the current page after receiving the preset touch operation or key operation of the user.
Specifically, the text content in the current page may be identified by an OCR (Optical Character Recognition) technology, and may also be identified by other technologies, which is not limited herein.
And identifying the text content in the current page refers to identifying all the text content in the current page.
Step 202, extracting at least one key text in the text content by using a preset screening rule.
In the embodiment of the present application, the preset screening rule includes: selecting a key text according to part of speech, semantics and at least one of sentence formats; for example, if the text meeting the noun and/or representing a semantic meaning is used as a key text, if the text content of the current page is "five o' clock in tomorrow afternoon in the third tower of national trade, a notebook computer is required to be carried by the current page"; the key texts include "five pm tomorrow", "country trade", "third building" and "notebook". In addition, when a text satisfying a noun, a semantic meaning and one or more items in a text is used as a key text, if the text content of the current page is as follows:
"invite you to attend parent-child baking course of four stories of large order
From 9 am to 10 am of the day, the familiar environment E.E. can be reached 10 minutes in advance
Address: the basalt district in Nanjing City considers the home-oriented 59 # major quality education center;
reach and contact my xiao zhu teacher.
The key texts include "four lounges for large lessons", "9 am to 10 am on weekdays", "environment", "address", "basaltic district for south kyo city, number 59 center for large lesson quality education", and "patron teacher".
In the embodiment of the application, the preset screening rule may also be other rules, so as to split the text content of the current page in multiple forms to obtain the key text.
In the embodiment of the application, the text content of the current page is split according to the preset screening rule to obtain one or more key texts, so that a user can further conveniently and quickly finish copying and pasting of the required text.
Step 203, determining at least one application to be selected matched with the key text.
In the embodiment of the application, each key text has at least one application to be selected matched with the key text; the applications to be selected for different key text matches may be the same.
Specifically, the to-be-selected application corresponding to the key text can be determined according to the semantics of the key text. For example, when the key text includes "four lounges in large courtyards", "9 am to 10 am on weekdays", "environment", "address", "basaltic district in south kyo consider home-oriented way 59 number school quality education center", "patron teacher". The application to be selected corresponding to the four lounge buildings is the navigation application, the application to be selected corresponding to the 9 o 'clock to 10 o' clock in the morning of the weekdays is the clock application, the environment is the weather application, the address is the navigation application, the basalt district-looking-at-home camp way No. 59 lounge quality education center in Nanjing city is the navigation application, and the teacher-looking-at-home is the web-lesson application.
Further, step 203 comprises: determining the text category to which each key text belongs according to a preset classification mode; and determining at least one to-be-selected application corresponding to each text category.
Specifically, the preset classification method includes: classifying according to semantics; for example, all applications in the electronic device are categorized according to application names, including: video class, shopping class, navigation class, payment class, chat class, take-away class, and other classes; correspondingly, the text category of the key text may be one or more of a video category, a shopping category, a navigation category, a payment category, a chat category, a take-away category, and other categories. For example, when the key text includes "four lounges in large courtyards", "9 am to 10 am on weekdays", "environment", "address", "basaltic district in south kyo consider home-oriented way 59 number school quality education center", "patron teacher". The corresponding text category of the key text includes navigation category, time category, weather category and web course category.
And the at least one application to be selected corresponding to each text category is an application installed in the terminal. The applications to be selected corresponding to the navigation class comprise: navigation application F, navigation application G; the application to be selected corresponding to the time class comprises the following steps: a clock application H and a calendar application I; the application to be selected corresponding to the weather class comprises the following steps: weather application J; the application to be selected corresponding to the web class comprises the following steps: web lesson application L and web lesson application L.
And 204, displaying the icon of the application to be selected corresponding to the application to be selected in a preset area of the display interface.
In this embodiment, step 204 includes: and selecting an application selection icon corresponding to the application to be selected correspondingly according to the text category, and displaying the application selection icon in a preset area of the display interface.
As above, the candidate applications corresponding to the navigation class include: navigation application F, navigation application G; the application to be selected corresponding to the time class comprises the following steps: a clock application H and a calendar application I; the application to be selected corresponding to the weather class comprises the following steps: weather application J; the application to be selected corresponding to the web class comprises the following steps: web class application K and web class application L. The selected applications to be selected may be a navigation application F, a clock application H, a weather application J, and a web lesson application K.
Specifically, when the text type corresponds to a plurality of applications to be selected, the manner of selecting one application to be selected is to select the application to be selected with the highest use frequency and/or use frequency within a preset time.
In addition, the icons of the applications to be selected corresponding to the multiple applications to be selected corresponding to the text categories can be displayed; displaying icons of applications to be selected corresponding to the applications to be selected in the same text category on the same column or the same row; or one text category is selected correspondingly to one application to be selected, a plurality of text categories are arranged according to the sequence of the icons of the application to be selected corresponding to the selected application to be selected, and the icons of the application to be selected corresponding to other applications to be selected are arranged behind the icon of the application to be selected corresponding to the selected application to be selected. In the embodiment of the present application, the display mode of the icon of the application to be selected corresponding to the application to be selected may also be determined in other ways, which are not limited herein.
In the embodiment of the application, one text category correspondingly selects one application to be selected corresponding to the application icon to be selected to be displayed in the preset area of the display interface, so that the range of the target application selected by the user can be narrowed, and the user can quickly find the required target application.
In addition, the rest of the content refers to step 101, and is not described herein again.
Step 205, receiving a second input of the user for the icon of the application to be selected, and in response to the second input, taking the icon of the application to be selected by the second input as a target application corresponding to the application to be selected.
Referring to step 102, the detailed description is omitted here.
Step 206, in the key texts, determining the target texts matched with the target application.
In the embodiment of the application, the text content of the current page is already identified, and at least one key text is determined in the text content, so that the text content of the current page does not need to be identified, and only the target text matched with the target application needs to be determined in the determined key text.
In addition, referring to step 103, the description is omitted here.
And step 207, when at least two target applications are selected by the second input, running each target application, and executing the corresponding target text pasting operation aiming at each target application.
In the embodiment of the present application, step 207 includes: selecting one main application from the target applications, and taking other target applications as auxiliary applications; running the main application on a display interface, and pasting a target text corresponding to the main application in the main application; and the auxiliary applications are run in the background, when a trigger operation on one of the auxiliary applications is received, a home page corresponding to the auxiliary application is displayed, and a pasting operation of a target text corresponding to the auxiliary application is executed.
Specifically, the user can click the identifiers of the multiple application icons to be selected in the application icons to be selected, take the selected multiple application icons to be selected as target application combined icons, and drag the combined icons to the designated area to complete the selection of the target applications. The method comprises the steps that a plurality of target applications are selected, and the target applications are operated at the same time, so that a user can quickly complete own target tasks; wherein, the target task comprises: pasting a plurality of target texts in corresponding target applications; for example, when the text content is "five pm tomorrow in the morning conference on the country trade third building, a notebook is needed to be carried by the text content", the corresponding key text includes "five pm tomorrow", "country trade" and "notebook", and the corresponding candidate applications are a clock application, a navigation application and a shopping application; selecting all applications to be selected as target applications by the user, and then setting the target texts as all key texts; the clock application, the navigation application and the shopping application can be simultaneously operated, the navigation application is selected as a main application, the navigation application is operated on a display interface, the clock application and the shopping application are used as auxiliary applications and operated in a background, then a user can paste country trade in the navigation application to complete route planning, then a preset shortcut key is clicked, then a screen is slid to select a home page of the navigation application, the home page of the navigation application is displayed on the display interface, then five afternoon in tomorrow is pasted, alarm clock recording is carried out, the preset shortcut key is clicked, then the screen is slid to select the home page of the shopping application, the home page of the shopping application is displayed on the display interface, then a notebook is pasted, and the notebook is purchased. The user quickly completes the target task (preparation task) corresponding to the text content "five pm in the afternoon in tomorrow, and the user needs to take a notebook computer".
In addition, at least two target applications selected by the user may be the same, and the same target text is pasted in the selected target applications correspondingly, so that the user may obtain different results corresponding to the same target text in different target applications. For example, when two target applications are selected: and the navigation application A and the navigation application B copy 'country trade' in the navigation application A and the navigation application B at the same time, and then the user compares the routes given by the navigation application A and the navigation application B to select the optimal route.
In the embodiment of the present application, the selection of the master application may be random, or may be determined according to a historical usage record of the target application by the user, which is not limited herein.
In addition, after the step 202, a second scheme may be executed, in which each of the key texts is displayed on a display interface, so that a user can select a target text from the key texts, then a target application matched with the target text is determined according to the target text, the target application is run, and a pasting operation of the target text is executed. The scheme is also within the scope of the present application, but compared with the scheme, the scheme of steps 203 to 207 displays the to-be-selected application icon of the to-be-selected application corresponding to the key text on the display interface for the user to select, because the to-be-selected application is the application of the user mobile terminal, the user has a certain familiarity with the to-be-selected application icon, and can quickly select the target application from the to-be-selected application corresponding to the to-be-selected application icon, and in the scheme two, when the key text is more, the displayed word on the display interface is still michelson, and for the user, it is difficult to find the target text which needs to be copied, so in the embodiment of the present application, the to-be-selected application icon corresponding to the to-be-selected application corresponding to the key text is automatically displayed on the display interface for the user to select, and the efficiency of copying and pasting by the user is improved.
In the embodiment of the application, a user responds to a first input by receiving the first input of the user for a current page, and text content in the current page is identified; extracting at least one key text in the text content by using a preset screening rule; determining at least one application icon to be selected matched with the key text; displaying the application icon to be selected in a preset area of the display interface; receiving a second input of the user for the icon of the application to be selected, responding to the second input, and taking the application to be selected corresponding to the icon of the application to be selected by the second input as a target application; determining the target text matched with the target application in the key text; and when at least two target applications selected by the second input are available, running each target application, and executing the corresponding pasting operation of the target text aiming at each target application. The user can quickly acquire all applications to be selected corresponding to the text content of the current page, and then selects at least one target application according to the own needs, so that the pasting operation of the corresponding target text is simply and conveniently completed.
Referring to fig. 3, a flowchart illustrating steps of a third text processing method according to the embodiment of the present application is shown, and specifically may include the following steps:
step 301, receiving a first input of a user for a current page, in response to the first input, obtaining a screenshot image corresponding to the current page, and identifying text content in the screenshot image.
In an embodiment of the present application, the first input corresponds to a screenshot operation; when a user performs a preset touch operation or a key operation on a current page, a screenshot is performed on the current page to obtain a screenshot image corresponding to the current page, wherein text content in the screenshot image can be identified by an OCR (Optical Character Recognition) technology, and text content in the current page can also be identified by other technologies, which is not limited herein.
Referring to step 201, the process is not limited herein.
Step 302, segmenting the screenshot image into a plurality of first images according to the text content.
In the embodiment of the application, specifically, the screenshot image is segmented according to the paragraphs of the text content in the screenshot image; referring to fig. 4, the text content in fig. 4 includes "xiaoming: three points in the afternoon tomorrow, i.e. in member store of Shanmu? : i "," xiaoming: with a computer, a recording pen and a notebook, "8": i 'and' Xiaoming: 17 ""; the screenshot image of fig. 4 is divided into a plurality of first images, for example, fig. 5, each small square corresponds to one first image, and the user can select any first image as the target image according to the requirement.
Further, these first images may be displayed on top of the current page. After the user selects the target image in the first image, only the target image can be displayed on the current page, referring to fig. 8, so that the user can more intuitively see the content which the user wants to copy and paste.
In the embodiment of the present application, referring to fig. 6, text contents are all displayed in the display interface, and if a conventional click-to-copy method is adopted, all the text contents are likely to be selected, and then the user needs to continue to manually screen out, but with the method of the embodiment of the present application, all the contents in fig. 6 are divided into a plurality of first images according to paragraphs, and then the user may select one of the first images as a target image.
In the embodiment of the application, the screenshot image can be segmented according to a preset mode; for example, the first image is acquired by dividing the captured image into equal widths from top to bottom, but the present invention is not limited thereto.
In the embodiment of the application, optionally, if a selection operation of a user on a chat paragraph is received, only the selection operation of the user on text content is performed, a screenshot is performed on an image portion to which the text content selected by the user belongs, a corresponding screenshot image is displayed on a current page, a preset area is set on the screenshot image, specifically referring to fig. 8, when the current page 01 is a chat page, the user selects "three points tomorrow afternoon, am member shop, etc.," to capture the part of the text content, so as to obtain a screenshot image 02, the screenshot image 02 is displayed to cover the current page 01, and then the to-be-selected application icon 04 is displayed on the corresponding preset area 03 on the current page. In addition, the user can drag a target application icon corresponding to a target application selected from the applications to be selected to the screenshot image 02, and the target application is selected.
Specifically, the user can click the identifiers of the multiple application icons to be selected in the application icons to be selected, take the identifiers of the multiple selected application icons to be selected as target application combined icons, and drag the combined icons to the screenshot image to complete the selection of the target application. For example, in fig. 8, the identifiers of the navigation application and the calendar application are simultaneously selected, and dragged to the screenshot image 02 as a combined icon, thereby completing the selection operation of the navigation application and the calendar application.
In the embodiment of the application, the user can more intuitively see the content which the user wants to copy and paste by adopting the overlapped display mode.
Step 303, receiving a third input of the user for the first image, responding to the third input, and taking the first image selected by the third input as a target image.
In the embodiment of the present application, the content of a certain paragraph may also be selected in the text content, and a screenshot may be performed on a part of the interface of the paragraph, so as to determine that the part of the interface is the target image.
Further, the third input includes: a click operation or a drag operation.
And 304, displaying at least one to-be-selected application icon in a preset area of a display interface according to the text content in the target image.
In the embodiment of the present application, the text content in the target image may be recognized by an OCR (Optical Character Recognition) technology, and may also be recognized by other technologies, which is not limited herein.
In addition, referring to step 201, the details are not repeated herein.
Step 305, receiving a second input of the user for the icon of the application to be selected, and in response to the second input, taking the application to be selected corresponding to the icon of the application to be selected by the second input as a target application.
Referring to step 102, the detailed description is omitted here.
Step 306, determining the target text in the target image according to the application category of the target application.
In the embodiment of the application, a user can click the to-be-selected application icon in the preset area or drag the selected to-be-selected application icon into the screenshot image, then the to-be-selected application corresponding to the selected to-be-selected application icon is used as the target application, then the application category of the target application is identified, and then the target text matched with the application category is searched in the target image.
Specifically, all applications in the electronic device may be classified in advance according to application names, so that each application has an application category to which the application belongs, where the application categories include: video class, shopping class, navigation class, payment class, chat class, take-away class, and other classes; the applications of each application category include one or more applications. For example, video classes include: application A, application B and application C; the shopping category includes: application D, application E; and so on. And then establishing a corresponding relation applied between the application categories.
After the target application is determined, the application category to which the target application belongs can be determined according to the application name and the corresponding relation of the target application, then all text contents in the target image are identified, the text contents in the target image are analyzed through semantics, the target text is determined in the text contents, and the semantics of the target text is made to accord with the application category of the target application.
For example, when the application category to which the target application clicked or dragged by the user belongs is the navigation category, in the case that the text content of the target page is "three o' clock in the afternoon of today, me member shop, etc.," it is determined through semantic analysis that the target text matched with the navigation category is a country trade.
According to the method and the device, the target text can be more accurately positioned in the target image according to the application category of the target application, and the efficiency of obtaining the target text by a user is improved.
In addition, referring to step 103, the description is omitted here.
Step 307, running the target application, and executing the pasting operation of the target text in the target application.
Referring to step 104, the detailed description is omitted here.
In the embodiment of the application, a first input of a user for a current page is received, a screenshot image corresponding to the current page is obtained in response to the first input, and text content in the screenshot image is identified; according to the text content, the screenshot image is divided into a plurality of first images; receiving a third input of a user for the first image, responding to the third input, and taking the first image selected by the third input as a target image; displaying at least one to-be-selected application icon in a preset area of a display interface according to the text content in the target image; receiving a second input of the user for the icon of the application to be selected, and responding to the second input, and taking the target application corresponding to the icon of the application to be selected by the second input as the target application; determining a target text associated with the target application in the current page; and running the target application, and executing the pasting operation of the target text in the target application. In the embodiment of the application, the screenshot is performed on the current page, and the screenshot image is divided into the plurality of first images for the user to select, so that the user can quickly find the text which the user wants to copy and paste, and the calculation amount of the electronic equipment is reduced.
Referring to fig. 9, a block diagram of a text processing apparatus 400 according to an embodiment of the present application is shown, and is applied to a server, and specifically, the text processing apparatus may include:
the display module 401 is configured to receive a first input of a user for a current page, and in response to the first input, display at least one to-be-selected application icon in a preset area of a display interface;
a selecting module 402, configured to receive a second input of the user for the to-be-selected application icon, and in response to the second input, take, as a target application, the to-be-selected application corresponding to the to-be-selected application icon selected by the second input;
a determining module 403, configured to determine a target text associated with the target application in the current page;
and a pasting module 404, configured to run the target application, and execute a pasting operation of the target text in the target application.
The display module 401 includes:
the first identification unit is used for identifying the text content in the current page;
the extraction unit is used for extracting at least one key text in the text content by using a preset screening rule;
the first determining unit is used for determining at least one to-be-selected application icon matched with the key text;
the first display unit is used for displaying the icon of the application to be selected corresponding to the application to be selected in a preset area of the display interface;
the determining module is specifically configured to determine the target text matched with the target application in the key texts.
The first determining unit is specifically configured to:
determining the text category to which each key text belongs according to a preset classification mode;
determining at least one to-be-selected application corresponding to each text category;
the display unit is specifically configured to select, for one text category, one to-be-selected application icon corresponding to the to-be-selected application to be displayed in a preset area of the display interface.
The first input corresponds to a screenshot operation; the display module 401 includes:
the second identification unit is used for acquiring a screenshot image corresponding to the current page and identifying text content in the screenshot image;
the segmentation unit is used for segmenting the screenshot image into a plurality of first images according to the text content;
the receiving unit is used for receiving a third input of the first image by a user, responding to the third input and taking the first image selected by the third input as a target image;
and the second display unit is used for displaying at least one to-be-selected application icon in a preset area of a display interface according to the text content in the target image.
The determining module 403 includes:
and the second determining unit is used for determining the target text in the target image according to the application category of the target application.
When the target application selected by the second input is at least two; the paste module 404 includes:
and the pasting unit is used for running each target application and executing the pasting operation of the corresponding target text aiming at each target application.
The text processing apparatus 400 provided in the embodiment of the application can execute the steps of the text processing method shown in any one of fig. 1 to fig. 3, which are not described herein again.
In an embodiment of the present application, the method includes: receiving a first input of a user for a current page, and responding to the first input to display at least one application icon to be selected in a preset area of a display interface; receiving a second input of the user for the icon of the application to be selected, responding to the second input, and taking the application to be selected corresponding to the icon of the application to be selected by the second input as a target application; determining a target text associated with the target application in the current page; and running the target application, and executing the pasting operation of the target text in the target application. In the embodiment of the application, the application icon to be selected is displayed in the preset area, so that a user can select the target application from the applications to be selected corresponding to the application icon to be selected, the time that the user needs to search for the target application in all applications is shortened, moreover, the corresponding target text is determined in the current page through the target application, the operation of manually screening the target text by the user can be avoided, the user can conveniently obtain the target text, in addition, the efficiency of selecting the target text to be copied in the current page by the user can be improved through determining the target text related to the target application in the current page, and further, the efficiency of copying and pasting operations on the text by the user is improved.
The device for implementing the text processing method in the embodiment of the present application may be, 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 server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The detection method for realizing the method wearing in the embodiment of the application can be a device with 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.
Optionally, as shown in fig. 10, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement the processes in the text processing method embodiment of the foregoing method, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio unit 1010, a network module 1020, an audio output unit 1030, an input unit 1040, a sensor 1050, a display unit 1060, a user input unit 1070, an interface unit 1080, an interface unit 1090, and a processor 1100.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to the components, and the power source may be logically connected to the processor 1100 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 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 processor 1100 is configured to receive a first input of a user for a current page, and in response to the first input, display at least one to-be-selected application icon in a preset area of a display interface; receiving a second input of the user for the icon of the application to be selected, responding to the second input, and taking the application to be selected corresponding to the icon of the application to be selected by the second input as a target application; determining a target text associated with the target application in the current page; and running the target application, and executing the pasting operation of the target text in the target application.
A processor 1100, further configured to identify text content in the current page; extracting at least one key text in the text content by using a preset screening rule; determining at least one application icon to be selected matched with the key text; and displaying the application icon to be selected in a preset area of the display interface.
The processor 1100 is further configured to determine, in the key text, the target text matching the target application.
The processor 1100 is further configured to determine a text category to which each of the key texts belongs according to a preset classification manner; and determining at least one to-be-selected application corresponding to each text category.
The processor 1100 is further configured to select, for one text category, a to-be-selected application icon corresponding to one to-be-selected application to be displayed in a preset area of the display interface.
The processor 1100 is further configured to obtain a screenshot image corresponding to the current page, and identify text content in the screenshot image; according to the text content, the screenshot image is divided into a plurality of first images; receiving a third input of a user for the first image, responding to the third input, and taking the first image selected by the third input as a target image; and displaying at least one to-be-selected application icon in a preset area of a display interface according to the text content in the target image.
The processor 1100 is further configured to run each of the target applications, and execute a paste operation of the corresponding target text for each of the target applications.
In an embodiment of the present application, the method includes: receiving a first input of a user for a current page, and responding to the first input to display at least one application icon to be selected in a preset area of a display interface; receiving a second input of the user for the icon of the application to be selected, responding to the second input, and taking the application to be selected corresponding to the icon of the application to be selected by the second input as a target application; determining a target text associated with the target application in the current page; and running the target application, and executing the pasting operation of the target text in the target application. In the embodiment of the application, the application icon to be selected is displayed in the preset area, so that a user can select the target application from the applications to be selected corresponding to the application icon to be selected, the time that the user needs to search for the target application in all applications is shortened, moreover, the corresponding target text is determined in the current page through the target application, the operation of manually screening the target text by the user can be avoided, the user can conveniently obtain the target text, in addition, the efficiency of selecting the target text to be copied in the current page by the user can be improved through determining the target text related to the target application in the current page, and further, the efficiency of copying and pasting operations on the text by the user is improved.
It should be understood that in the embodiment of the present application, the input Unit 1040 may include a Graphics Processing Unit (GPU) 2041 and a microphone 2042, and the Graphics Processing Unit 2041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1060 may include a display panel 2061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 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 described in detail herein. The interface unit 1090 may be used to store software programs as well as various data, including but not limited to applications and operating systems. The processor 1100 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1100.
An 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 processing method embodiment is implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
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 run a program or an instruction to implement the process of the text processing method embodiment of the foregoing method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
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 method according to 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 processing, comprising:
receiving a first input of a user for a current page, and responding to the first input to display at least one application icon to be selected in a preset area of a display interface;
receiving a second input of the user for the icon of the application to be selected, responding to the second input, and taking the application to be selected corresponding to the icon of the application to be selected by the second input as a target application;
determining a target text associated with the target application in the current page;
and running the target application, and executing the pasting operation of the target text in the target application.
2. The method according to claim 1, wherein the displaying at least one application icon to be selected in a preset area of a display interface comprises:
identifying text content in the current page;
extracting at least one key text in the text content by using a preset screening rule;
determining at least one application to be selected matched with the key text;
displaying the icon of the application to be selected corresponding to the application to be selected in a preset area of the display interface;
the determining the target text associated with the target application in the current page includes:
in the key texts, determining the target texts matched with the target application.
3. The method of claim 2, wherein the determining at least one application to be selected that matches the key text comprises:
determining the text category to which each key text belongs according to a preset classification mode;
determining at least one to-be-selected application corresponding to each text category;
the displaying the icon of the application to be selected corresponding to the application to be selected in the preset area of the display interface includes:
and selecting the icon of the application to be selected corresponding to the application to be selected correspondingly to display in a preset area of the display interface according to the text category.
4. The method of claim 1, wherein the first input corresponds to a screenshot operation; the method for displaying at least one application icon to be selected in a preset area of a display interface comprises the following steps:
acquiring a screenshot image corresponding to a current page, and identifying text content in the screenshot image;
according to the text content, the screenshot image is divided into a plurality of first images;
receiving a third input of a user for the first image, and taking the first image selected by the third input as a target image in response to the third input;
and displaying at least one to-be-selected application icon in a preset area of a display interface according to the text content in the target image.
5. The method of claim 4, wherein the determining the target text associated with the target application in the current page comprises:
and determining the target text in the target image according to the application category of the target application.
6. The method according to any one of claims 1 to 5, wherein when the target application selected by the second input is at least two; the running of the target application and the execution of the pasting operation of the target text in the target application comprise:
and running each target application, and executing the pasting operation of the corresponding target text aiming at each target application.
7. A text processing apparatus, comprising:
the display module is used for receiving a first input of a user for a current page, responding to the first input, and displaying at least one application icon to be selected in a preset area of a display interface;
the selection module is used for receiving a second input of the user for the application icon to be selected, responding to the second input, and taking the application to be selected corresponding to the application icon to be selected by the second input as a target application;
the determining module is used for determining a target text associated with the target application in the current page;
and the pasting module is used for running the target application and executing the pasting operation of the target text in the target application.
8. The apparatus of claim 7, wherein the display module comprises:
the first identification unit is used for identifying the text content in the current page;
the extraction unit is used for extracting at least one key text in the text content by using a preset screening rule;
the first determining unit is used for determining at least one to-be-selected application icon matched with the key text;
the first display unit is used for displaying the icon of the application to be selected corresponding to the application to be selected in a preset area of the display interface;
the determining module is specifically configured to determine the target text matched with the target application in the key texts.
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 processing method according to any one of claims 1-6.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the text processing method according to any one of claims 1 to 6.
CN202110180447.1A 2021-02-09 2021-02-09 Text processing method and device, electronic equipment and storage medium Active CN112882623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110180447.1A CN112882623B (en) 2021-02-09 2021-02-09 Text processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110180447.1A CN112882623B (en) 2021-02-09 2021-02-09 Text processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112882623A true CN112882623A (en) 2021-06-01
CN112882623B CN112882623B (en) 2022-08-05

Family

ID=76057611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110180447.1A Active CN112882623B (en) 2021-02-09 2021-02-09 Text processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112882623B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114840113A (en) * 2022-05-12 2022-08-02 维沃移动通信有限公司 Application management method and device
CN115016710A (en) * 2021-11-12 2022-09-06 荣耀终端有限公司 Application program recommendation method
CN115033142A (en) * 2021-11-12 2022-09-09 荣耀终端有限公司 Application interaction method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182479A (en) * 2014-08-04 2014-12-03 宇龙计算机通信科技(深圳)有限公司 Method and device for processing information
CN106776082A (en) * 2017-01-17 2017-05-31 维沃移动通信有限公司 The method of attaching and device of text
CN108279931A (en) * 2016-12-30 2018-07-13 谷歌有限责任公司 Context pastes target prediction
CN108363792A (en) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 Link generation method, device, storage medium and the electronic equipment of five application page
CN109298904A (en) * 2018-08-10 2019-02-01 北京小蓦机器人技术有限公司 Information processing method, device, storage medium and calculating equipment
CN109960801A (en) * 2019-03-15 2019-07-02 北京字节跳动网络技术有限公司 Data processing method and device
KR20190077206A (en) * 2017-12-25 2019-07-03 김정훈 Automated sms scheduleing services based on clipboard copy event when clicking copy message tab on sms/sns app
CN110045903A (en) * 2019-04-23 2019-07-23 努比亚技术有限公司 Interface operation response method, mobile terminal, device and computer storage medium
CN110276007A (en) * 2014-07-31 2019-09-24 三星电子株式会社 For providing the device and method of information

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110276007A (en) * 2014-07-31 2019-09-24 三星电子株式会社 For providing the device and method of information
CN104182479A (en) * 2014-08-04 2014-12-03 宇龙计算机通信科技(深圳)有限公司 Method and device for processing information
CN108279931A (en) * 2016-12-30 2018-07-13 谷歌有限责任公司 Context pastes target prediction
CN106776082A (en) * 2017-01-17 2017-05-31 维沃移动通信有限公司 The method of attaching and device of text
KR20190077206A (en) * 2017-12-25 2019-07-03 김정훈 Automated sms scheduleing services based on clipboard copy event when clicking copy message tab on sms/sns app
CN108363792A (en) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 Link generation method, device, storage medium and the electronic equipment of five application page
CN109298904A (en) * 2018-08-10 2019-02-01 北京小蓦机器人技术有限公司 Information processing method, device, storage medium and calculating equipment
CN109960801A (en) * 2019-03-15 2019-07-02 北京字节跳动网络技术有限公司 Data processing method and device
CN110045903A (en) * 2019-04-23 2019-07-23 努比亚技术有限公司 Interface operation response method, mobile terminal, device and computer storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115016710A (en) * 2021-11-12 2022-09-06 荣耀终端有限公司 Application program recommendation method
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
CN114840113A (en) * 2022-05-12 2022-08-02 维沃移动通信有限公司 Application management method and device
CN114840113B (en) * 2022-05-12 2024-04-30 维沃移动通信有限公司 Application management method and device

Also Published As

Publication number Publication date
CN112882623B (en) 2022-08-05

Similar Documents

Publication Publication Date Title
CN112882623B (en) Text processing method and device, electronic equipment and storage medium
CN106484266B (en) Text processing method and device
US10140314B2 (en) Previews for contextual searches
US10228819B2 (en) Method, system, and apparatus for executing an action related to user selection
CN109923568B (en) Mobile data insight platform for data analysis
WO2020221162A1 (en) Application program recommendation method and apparatus, electronic device, and medium
US20100077291A1 (en) Information display apparatus, information display method, and recording medium
CN112269798B (en) Information display method and device and electronic equipment
WO2017012416A2 (en) Shortcut operation method, shortcut operation device, and terminal
CN112631437A (en) Information recommendation method and device and electronic equipment
US10394422B2 (en) Data interaction cards for capturing and replaying logic in visual analyses
CN112181253A (en) Information display method and device and electronic equipment
WO2024149183A1 (en) Document display method and apparatus, and electronic device
CN112882619A (en) Application interface management method and device, electronic equipment and medium
CN114995691A (en) Document processing method, device, equipment and medium
CN112100463A (en) Information processing method and device, electronic equipment and readable storage medium
CN110232155B (en) Information recommendation method for browser interface and electronic equipment
CN113157966B (en) Display method and device and electronic equipment
CN113253904A (en) Display method, display device and electronic equipment
CN103902280A (en) Transaction processing method and device
CN113779434A (en) Search result display method and device and search result display device
CN113127629A (en) Keyword searching method and device and electronic equipment
CN112416143A (en) Text information editing method and device and electronic equipment
CN112764551A (en) Vocabulary display method and device and electronic equipment
CN112287131A (en) Information interaction method and information interaction device

Legal Events

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