WO2022156669A1 - 文本处理方法、装置、电子设备及可读存储介质 - Google Patents
文本处理方法、装置、电子设备及可读存储介质 Download PDFInfo
- Publication number
- WO2022156669A1 WO2022156669A1 PCT/CN2022/072504 CN2022072504W WO2022156669A1 WO 2022156669 A1 WO2022156669 A1 WO 2022156669A1 CN 2022072504 W CN2022072504 W CN 2022072504W WO 2022156669 A1 WO2022156669 A1 WO 2022156669A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- input
- text
- page
- control
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 27
- 230000004044 response Effects 0.000 claims abstract description 65
- 238000004891 communication Methods 0.000 claims abstract description 13
- 238000000034 method Methods 0.000 claims description 43
- 238000012545 processing Methods 0.000 claims description 32
- 238000004590 computer program Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 238000003306 harvesting Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 6
- 238000007726 management method Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- the present application belongs to the field of communication technologies, and in particular relates to a text processing method, an apparatus, an electronic device and a readable storage medium.
- a text selection box is displayed in the text through the user's long-press operation on the text, and the user's adjustment to the text selection box is received to determine the corresponding copy content, so as to realize the copying of the text;
- the long-press operation on the box displays a prompt box including the paste control above or below the input box, and receives the user's touch on the paste control to input the copied text into the input box, thereby realizing the pasting of the text.
- the embodiments of the present application provide a text processing method, apparatus, electronic device, and readable storage medium, which can solve the problem that in the existing text processing method, the user needs to perform input to trigger the electronic device to switch back and forth between copying pages and pasting pages, causing text deal with less efficient problems.
- a text processing method comprising:
- an edit box is displayed, the edit box including the first information determined based on the first text, and the first information corresponding to the first information.
- the first information is pasted in the first paste page.
- a text processing apparatus comprising:
- a first display module configured to display an edit box in response to a first input of copying the first text received on the first page, the edit box including the first information determined based on the first text, and the first control corresponding to the first information;
- the first paste module is configured to paste the first information into the first paste page in response to the received second input for the first control corresponding to the first information.
- an electronic device comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor When executed, the steps of the method as described in the first aspect are implemented.
- a readable storage medium is provided, and a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented.
- a chip in a fifth aspect, 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 method according to the first aspect .
- an embodiment of the present application provides a computer program product, where the computer program product is stored in a storage medium, and the computer program product is executed by at least one processor to implement the method according to the first aspect.
- an embodiment of the present application provides a communication device configured to execute the method described in the first aspect.
- the electronic device may display an edit box, where the edit box includes the first information determined based on the first text and corresponds to the first information
- the first control and in response to the received second input for the first control corresponding to the first information, the first information can be pasted in the first paste page.
- the user can trigger the electronic device to paste the information into the corresponding page by interacting with the first control in the edit box, without performing input to trigger the display interface of the electronic device to switch back and forth between the copy page and the paste page, thereby simplifying the user experience operation to improve the efficiency of text processing.
- Fig. 1 is one of the flow charts of the text processing method provided by the embodiment of the present application.
- FIG. 2 is the second flow chart of the text processing method provided by the embodiment of the present application.
- 3a is a schematic diagram of a duplicated page provided by an embodiment of the present application.
- Fig. 3b is one of the schematic diagrams of the editing frame provided by the embodiment of the present application.
- 3c is a schematic diagram of a page for filling in a delivery address of a first application provided by an embodiment of the present application
- Fig. 4a is the second schematic diagram of the editing frame provided by the embodiment of the present application.
- Fig. 4b is the third schematic diagram of the editing frame provided by the embodiment of the present application.
- 4c is a schematic diagram of an express query page provided by an embodiment of the present application.
- FIG. 5 is a structural diagram of a text processing apparatus provided by an embodiment of the present application.
- FIG. 6 is one of the structural diagrams of an electronic device provided by an embodiment of the present application.
- FIG. 7 is a second structural diagram of an electronic device provided by an embodiment of the present application.
- first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and "first”, “second” distinguishes Usually it is a class, and the number of objects is not limited.
- the first object may be one or multiple.
- “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
- the text processing method of the embodiment of the present application may be executed by an electronic device.
- the electronic device can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (PDA), a handheld computer, a netbook, a super computer Mobile personal computer (ultra-mobile personal computer, UMPC), mobile Internet device (Mobile Internet Device, MID), wearable device (Wearable Device) or vehicle equipment (VUE), pedestrian electronic equipment (PUE) and other electronic equipment side equipment , Wearable devices include: bracelets, earphones, glasses, etc.
- FIG. 1 is one of the flowcharts of the text processing method provided by the embodiment of the present application. As shown in Figure 1, the text processing method may include the following steps:
- Step 101 In response to the first input of copying the first text received on the first page, display an edit box, the edit box includes the first information determined based on the first text, and the first information and the first information. The corresponding first control.
- the display edit box can be, but not limited to, any of the following: a) display the edit box on the first page; b) control the display page to switch from the first page to the edit box.
- the display page of the electronic device will not be switched, the edit box can be suspended and displayed on the first page, and the display size of the edit box can be smaller than the first page; in b), The display page of the electronic device will switch, and the display size of the edit box may match the display page of the electronic device, filling the entire display page.
- the first information included in the edit box can be understood as candidate paste information.
- the first text is used to determine the content of the first information.
- the first information can be, but is not limited to, any of the following: the first text; extracted from the first text M pieces of sub-information output, where M is a positive integer.
- the first control included in the edit box can be used to trigger pasting of its corresponding information, that is, in the case of receiving an input for a certain first control, the electronic device can respond to the input and execute the corresponding information. Paste the information corresponding to the first control.
- the control may be expressed as a button, but is not limited to this.
- the number of first controls corresponding to the first information may be related to the representation form of the first information.
- the number of the first controls may be 1; in the case that the first information is the M sub-information, the first control The number of a control can be 1 or M.
- the M pieces of sub-information correspond to one first control. Therefore, when the electronic device receives the input of the first control , the M pieces of sub-information can be pasted in response to the input. In this case, the pasting of the M pieces of sub-information is implemented based on one input, so that the processing convenience of the first information can be improved.
- the M sub-information corresponds to the M first widgets one-to-one, and the M first widgets are in one-to-one correspondence.
- Each first control is used to paste the sub-information corresponding to the trigger.
- the pasting of the M pieces of sub-information is implemented based on the M pieces of input, which are independent of each other, so that the flexibility of processing the first information can be improved.
- the content in the editing box can be changed.
- the edit box may include the first text, and after receiving the input, the electronic device may adjust the first text to M pieces of sub-information; or, the user may or, if the user also copies the second text before ending the copying, the edit box may further include second information determined based on the second text, and a first text corresponding to the second information. a control.
- Step 102 In response to the received second input for the first control corresponding to the first information, paste the first information into the first paste page.
- the electronic device displays the editing box, if it receives an input for the first control, it can paste the information corresponding to the first control into a corresponding page. It can be seen that the user can trigger the electronic device to paste the information on the corresponding page by interacting with the first control in the edit box, without performing input to trigger the display interface of the electronic device to switch back and forth between the copy page and the paste page, which can simplify the user operation to improve the efficiency of text processing.
- the display page of the electronic device when the second input is received, the display page of the electronic device may be the first paste page, and the edit box is suspended and displayed on the first paste page, or it may not be the first paste page page.
- the implementation of pasting the first information into the first pasting page may be different, and the specific description is as follows:
- Case 1 When the second input is received, the display page of the electronic device is the first paste page, and the edit box is suspended and displayed on the first paste page.
- the electronic device may directly paste the first information on the currently displayed page.
- the electronic device can hide the edit box so that the user can view the complete first paste page to watch the paste effect of the first information; it can also continue to display the edit box in a floating manner. box for subsequent text processing operations.
- the electronic device may perform the operation of pasting the first information into the first pasting page in the following manner:
- the operation of pasting the first information on the first pasting page may be performed in the foreground.
- the display page of the electronic device can jump to the first paste page, and paste the first information into the first paste page.
- the edit box can always be suspended and displayed on the display page of the electronic device, or it can be hidden when the display page of the electronic device jumps to the first paste page, which can be determined according to the actual situation. The embodiment does not limit this.
- the operation of pasting the first information on the first pasting page may be performed in the background.
- the display page of the electronic device may not change, but the first information will be pasted in the first pasting page.
- the electronic device switches to the first paste page based on other inputs, the user can view the first information pasted in the first paste page.
- the second input includes M sub-inputs, and the input objects of each sub-input are the M sub-inputs One of the first controls, and the input objects of each sub-input are different.
- the pasting operation of the M pieces of sub-information may be performed according to the input time sequence of the M pieces of sub-inputs from first to last, or may be performed together after the M pieces of sub-inputs are completed, which may be determined according to the actual situation. This embodiment of the present application does not limit this.
- the electronic device may pop up an edit box, where the edit box includes the first information determined based on the first text, and the first The first control corresponding to the information, and the first information can be pasted in the first paste page in response to the received second input for the first control corresponding to the first information.
- the user can trigger the electronic device to paste the information into the corresponding page by interacting with the first control in the edit box, without performing input to trigger the display interface of the electronic device to switch back and forth between the copy page and the paste page, thereby simplifying the user experience operation to improve the efficiency of text processing.
- step 102 in the embodiment of the present application:
- the first control may be, but is not limited to, a send control or a paste control, wherein the send control may be used to trigger the determination of the paste page and the paste of information; the paste control is used to trigger pasting of information.
- the first paste page may be the display page when the electronic device receives the second input, or may be the target page of the target application program selected by the user. Described below in conjunction with specific embodiments:
- a paste page including:
- the target application is an application among the P applications, and P is a positive integer.
- the first control is a sending control, which is used to trigger the determination of the paste page and the paste of the information.
- the electronic device may display identification information of P applications, so that the user can select a target application for pasting the first information.
- the electronic device may directly paste the first information into the target page of the target application program, that is, the first paste page is the target page of the target application program. In this way, the user can paste the information into the target application program desired by the user by interacting with the first control of the edit box, thereby improving the reliability of pasting.
- the P application programs may be application programs started by the electronic device within a second duration, wherein the end time of the second duration is the input of the second input At the moment, the length of the second duration may be defaulted by the system or determined by the user. In this implementation manner, the value of P is determined based on the actual situation.
- the P application programs may be any P application programs installed on the electronic device, and further, the P application programs may be the system default or user-selected P application programs. In this implementation manner, the value of P can be predetermined.
- the target page can be a page including an input box, for example, in a shopping application, the target page can be a delivery address filling page; in a communication application, the target page can be a chat page.
- a paste page including:
- the first information is pasted in a second page, the second page being a display page when the second input is received.
- the first control is a paste control, which is used to trigger the paste of information.
- the user wants to paste the first information on a certain display page, he can first perform an input to trigger the electronic device to display the page, and then execute the second input on the page to trigger the electronic device to display the page.
- the first information is pasted on the page, that is, the first pasted page is the page currently displayed when the electronic device receives the second input.
- step 101 in the embodiment of the present application:
- the displaying an edit box in response to the first input of copying the first text received on the first page includes:
- a copy intent of the text also known as a copy scene
- the edit box further includes a label corresponding to the copy intention, and the label is used for: locating the pasting position of the first information, or recording relevant information of the first text; the first Information corresponds to the label.
- the corresponding labels in different copy intentions may be different.
- the label corresponding to the copy intention can be used to locate the pasting position of the first information;
- the corresponding label of the copy intention can be for recording relevant information of the first text.
- the first information corresponds to the tag, which can be understood as: the first information is determined based on the tag.
- the tag may be used to determine the representation form of the first information.
- the number of sub-information included in the first information may be equal to the number of tags included in the editing box.
- the label when used to locate the pasting position of the first information, the label may be used for at least one of the following: determining the first pasting page on which the first information is pasted; The first information is at the specific pasting position of the first pasting page.
- the edit box can include a name label, a phone number label, and an address label.
- the electronic device can use the label in the edit box to determine that the first pasting page is the delivery address filling page, and the specific pasting position of the name label on the delivery address filling page is the name on the delivery address filling page. column.
- the electronic device can determine the pasting position of the first information based on the label, so that the pasting rate of the first information can be improved.
- the related information of the first information may include, but is not limited to, at least one of the following: the copy time of the first information, the The source of the first information, the purpose of the first information, etc.
- pasting the first information into the first paste page includes:
- the first information and the label corresponding to the first information are pasted in the first pasting page.
- the electronic device can paste the first information and its corresponding label on the first pasting page together, the user can know the first information through the label corresponding to the first information when viewing the pasted content. information related to the information, which can improve the reliability of text processing.
- the electronic device can recognize the copy intention of the first text, and display an edit box corresponding to the copy intention, thereby improving the speed of information pasting , or, to improve the reliability of text processing.
- the edit box may include the first information, the first control corresponding to the first information, and the label corresponding to the first information.
- the electronic device may be preset with U kinds of copy intentions and U kinds of edit boxes corresponding to the U kinds of copy intentions, where U is an integer greater than 1. It can be understood that the design of the edit box corresponding to each copy intention is used for the electronic device to paste information more conveniently, or to record the relevant information related to the first text. For ease of understanding, an example is described below:
- the U copying intentions include: the first intention of filling in the delivery address, the second intention of excerpting the text, and the like.
- the first edit box corresponding to the first intention stored in advance by the electronic device may include M labels such as name, phone number, and address.
- the first information may be M sub-information corresponding to the M tags extracted from the first text
- the first controls corresponding to the first information may be one or M controls.
- the electronic device when pasting the first information, can determine, based on the label corresponding to the first information, that the pasting page of the first information is the page for filling in the delivery address, and can add the sub-information corresponding to the name label Fill in the name field in the harvest address filling page, fill in the sub-information corresponding to the phone number label in the phone number field in the harvest address filling page, and fill in the sub-information corresponding to the address tag in the address in the harvest address filling page. column, so that the pasting efficiency of electronic equipment can be improved.
- the second edit box corresponding to the second intention stored in advance by the electronic device may include a second edit box for recording the first text.
- a label of excerpt information of a text, and the first information may be the first text.
- the electronic device can also paste the label corresponding to the first information, so that it is convenient for the user to view the excerpt information of the first text, thereby improving the reliability of text processing.
- the electronic device may identify the copying intention of the first text according to the semantic recognition result of the first text. For example: if the phone number and address are included in the speech recognition result of the first text, it can be determined that the user's intention to copy the first text is the aforementioned first intention; if the speech recognition result of the first text does not include phone number or address, it can be determined that the user's intention to copy the first text is the aforementioned second intention.
- the electronic device may identify the copying intention of the first text according to N applications started within a first duration, where the end time of the first duration is the first inputted time The time is input, and the length of the first duration can be predetermined. For example, if the N applications include a shopping application or a chat application, it can be determined that the user's intention to copy the first text is the aforementioned first intention; if the N applications include a memo, it can be determined It is determined that the user's intention to copy the first text is the aforementioned second intention.
- the displaying an edit box in response to the first input of copying the first text received on the first page includes:
- the edit box is updated, and the updated edit box includes first information determined based on the first text, a first control corresponding to the first information, and a first control based on the second The second information determined by the text, and the first control corresponding to the second information.
- the copied text when the electronic device displays the edit box, the copied text may not be processed, and the copied text may be directly displayed in the edit box. Further, a continue copy control and an end copy control can also be displayed in the edit box.
- the continuous copy control is used to trigger the electronic device to continue copying the text, and add corresponding content in the edit box based on the copied text. In this way, the user can realize the pasting of multiple pieces of information by interacting with the editing box, which can further improve the efficiency of information pasting.
- the end copy control is used to trigger the electronic device to end the copy and update the edit box.
- the electronic device can process the copied text, and determine the information displayed in the edit box and the first control corresponding to the information based on the copied text. In this way, when the user copies multiple texts, the electronic device can perform parallel processing on the copied multiple texts after the current copying is completed, thereby improving the efficiency of text processing.
- the editing box further includes a second control
- the method further includes:
- the second control is used to trigger the electronic device to store all the information included in the edit box into the pasteboard.
- the electronic device can paste all the content in the pasteboard into the input box, so as to realize the unification of all the information included in the edit box pasting, thereby increasing the rate at which information is pasted.
- the second control may be represented as a confirmation copy control, but is not limited to this.
- the user can copy and edit multiple times on the copy side, and can send the content to the corresponding input box by sending. It improves the inconvenience that users can only copy one piece of content at a time, and at the same time recognizes the scene to allow users to quickly forward the content to improve efficiency.
- the text processing method may include the following steps:
- Step 200 intelligently copy a piece of content.
- the electronic device may display a prompt box, and the prompt box may include a first copy control and a second copy control, and the first copy control uses For triggering the electronic device to store the selected text in the pasteboard, the second copy control is used for triggering the electronic device to display an edit box.
- the first copy control may be understood as a copy control in the prior art; the second copy control may be understood as a new copy control in the embodiment of the present application, and may also be referred to as an intelligent copy control.
- Fig. 3a in Fig. 3a, the user selects a piece of content by long pressing, and selects smart copy.
- the electronic device After the user clicks the "smart copy” button, the electronic device will identify the scene of the user's copy operation based on the semantics of the copied content and the applications opened in the current recent task, for example, if the content copied by the user is a phone number and address , and then according to the user's recent opening of the e-commerce application, this scenario can be identified as filling in the delivery address.
- An edit box automatically pops up above the copied content.
- an edit box When the scene operated by the user is recognized, an edit box will pop up automatically, and the content included in the edit box can be edited by the electronic device or by the user.
- the edit box shown in Figure 3b includes: label, sub-information extracted from the copied text, send control, continue copy control and confirm copy control.
- the label in the edit box can be used to locate the paste location.
- the edit box shown in Fig. 3b includes name, phone and address labels, which correspond to the name edit column, telephone edit column and address edit column in the harvest address filling page in Fig. 3c respectively.
- the electronic device can fill in the information corresponding to the name label in the edit box of Fig. 3a into the name edit column in the harvest address filling page of Fig. 3c, and the corresponding information of the phone label in the edit box of Fig. 3a
- the information is filled in the telephone editing column in the harvesting address filling page in Fig. 3c, and the information corresponding to the address label in the editing box in Fig. 3a is filled in the address editing column in the harvesting address filling page in Fig. 3c.
- a send button will be provided to the user after each label. Because each message has a corresponding label in front of it, it can correspond to labels on other application interfaces. For example, the current scene of the user is to open the first A delivery address management interface of a shopping application. There are corresponding name, phone, and address edit fields in the interface. After the user has copied a piece of content in the memo interface and automatically tagged it, a send button will appear later. When the user clicks the send button in the name label column, the name will be automatically filled in the name editing column of the Taobao delivery address through label recognition. If multiple shopping applications have been opened recently, for example, the first shopping application has been opened. , the second shopping application, as shown in Figure 3b, when clicking the send button, the user will be prompted to which application to send to.
- the user can not only copy the content multiple times, but also send the content to the corresponding application through the tag, which reduces the user's tedious repeated operations and provides the user with a more convenient copying method.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- the user can select multiple pieces of content when long-pressing to copy, and after selecting the first piece of content, an edit box (also called a floating box) will automatically pop up, and “Continue to copy” will appear in the edit box Option, when the user clicks the "Continue to copy” button, the next content can be selected until the "End Copy” button is clicked, and all the copied content this time will be sorted out.
- an edit box also called a floating box
- the execution body may be a text processing apparatus, or a control module in the text processing apparatus for executing the text processing method.
- the text processing device provided by the embodiments of the present application is described by taking a text processing device executing a text processing method as an example.
- FIG. 5 is a structural diagram of a text processing apparatus provided by an embodiment of the present application.
- the text processing apparatus 500 includes:
- the first display module 501 is configured to display an edit box in response to the first input of copying the first text received on the first page, the edit box includes the first information determined based on the first text, and the a first control corresponding to the first information;
- the first paste module 502 is configured to paste the first information into the first paste page in response to the received second input for the first control corresponding to the first information.
- the first paste module 502 includes:
- a first display unit configured to display identification information of P applications in response to the received second input for the first control corresponding to the first information
- a first pasting unit configured to paste the first information into a target page of the target application in response to the received third input of the identification information of the target application
- the target application is an application among the P applications, and P is a positive integer.
- the first paste module 502 includes:
- a first receiving unit configured to receive a second input for the first control corresponding to the first information
- a second pasting unit configured to paste the first information into a second page in response to the second input, where the second page is a display page when the second input is received.
- the first display module 501 includes:
- a recognition unit configured to respond to the first input of copying the first text received on the first page, according to the semantic recognition result of the first text and at least one of the N applications started within the first duration , identifying the copy intention of the first text;
- a second display unit configured to display an edit box corresponding to the copy intention
- the edit box further includes a label corresponding to the copy intention, and the label is used for: locating the pasting position of the first information, or recording relevant information of the first text; the first Information corresponds to the label.
- the first pasting module 502 includes:
- a second receiving unit configured to receive a second input for the first control corresponding to the first information
- a third sticking unit configured to stick the first information and the label corresponding to the first information on the first sticking page in response to the second input.
- the first display module 501 includes:
- a third display unit configured to display an edit box in response to the first input of copying the first text received on the first page, the edit box including the first text, a continue copy control and an end copy control;
- a third receiving unit configured to receive the fifth input of copying the second text received on the third page under the condition of receiving the fourth input for the continued copying control
- An adding unit for adding the second text in the edit box in response to the fifth input
- a fourth receiving unit configured to receive a sixth input for the end copy control
- an update unit configured to update the edit box in response to the sixth input, where the updated edit box includes first information determined based on the first text, a first control corresponding to the first information, Second information determined based on the second text, and a first control corresponding to the second information.
- the editing box further includes a second control
- the text processing apparatus 500 further includes:
- a receiving module configured to receive a seventh input for the second control
- a storage module configured to store all the information included in the edit box into the pasteboard in response to the seventh input.
- the text processing apparatus in this embodiment of the present application may be an apparatus, and may also be a component, an integrated circuit, or a chip in an electronic device.
- the text processing apparatus in this embodiment of the present application may be an apparatus having an operating system.
- the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
- the text processing apparatus 500 provided in this embodiment of the present application can implement each process of the method embodiment, and achieve the same technical effect. To avoid repetition, details are not described here.
- an embodiment of the present application further provides a communication device 600, including a processor 601, a memory 602, a program or instruction stored in the memory 602 and executable on the processor 601,
- a communication device 600 including a processor 601, a memory 602, a program or instruction stored in the memory 602 and executable on the processor 601,
- the program or instruction is executed by the processor 601
- each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
- FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc. part.
- the electronic device 700 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
- a power source such as a battery
- the structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device.
- the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
- the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042. Such as camera) to obtain still pictures or video image data for processing.
- the display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 707 includes a touch panel 7071 and other input devices 7072 .
- the touch panel 7071 is also called a touch screen.
- the touch panel 7071 may include two parts, a touch detection device and a touch controller.
- Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
- the radio frequency unit 701 receives the downlink data from the network side device, and then processes it to the processor 710; in addition, sends the uplink data to the network side device.
- the radio frequency unit 701 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.
- Memory 709 may be used to store software programs or instructions as well as various data.
- the memory 709 may mainly include a storage program or instruction area and a storage data area, wherein the storage program or instruction area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.) and the like.
- the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, wherein the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM) , PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
- ROM Read-Only Memory
- PROM programmable read-only memory
- PROM erasable programmable read-only memory
- Erasable PROM Erasable PROM
- EPROM electrically erasable programmable read-only memory
- EEPROM electrically erasable programmable read-only memory
- flash memory for example at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
- the processor 710 may include one or more processing units; optionally, the processor 710 may be integrated into an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, application programs or instructions, etc. , the modem processor mainly deals with wireless communication, such as the baseband processor. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 710.
- the processor 710 is used for:
- an edit box is displayed through the display panel 7061, the edit box including the first information determined based on the first text, and the a first control corresponding to the first information;
- the first information is pasted in the first paste page in response to the second input for the first control corresponding to the first information received by the user input unit 707 .
- the processor 710 is configured to:
- the identification information of the P applications is displayed through the display panel 7061;
- the first information is pasted into the target page of the target application program
- the target application is an application among the P applications, and P is a positive integer.
- the processor 710 is configured to:
- the first information is pasted in a second page, the second page being a display page when the second input is received.
- the processor 710 is configured to:
- the edit box further includes a label corresponding to the copy intention, and the label is used to: locate the pasting position of the first information, or record the relevant information of the first text; the first Information corresponds to the label.
- the processor 710 is configured to:
- the first information and the label corresponding to the first information are pasted in the first pasting page.
- the processor 710 is configured to:
- an edit box is displayed, and the edit box includes the first text, a continue copy control, and an end copy control;
- the edit box is updated, and the updated edit box includes first information determined based on the first text, a first control corresponding to the first information, and a first control based on the second The second information determined by the text, and the first control corresponding to the second information.
- the editing box further includes a second control, the processor 710, for:
- the electronic device 700 in this embodiment can implement each process in the method embodiment of the present application, and achieve the same beneficial effect, and to avoid repetition, details are not described here.
- Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium.
- the computer program is executed by a processor, each process of the above text processing method embodiments can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here.
- the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
- the embodiments of the present application further provide a readable storage medium, the readable storage medium may be non-volatile or volatile, and a program or an instruction is stored on the readable storage medium, and the program or instruction is stored in the readable storage medium.
- the processor executes, each process of the embodiment of the text processing method is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
- the processor is the processor in the electronic device described in the foregoing embodiments.
- the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
- An 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 above text processing method embodiments
- the chip includes a processor and a communication interface
- the communication interface is coupled to the processor
- the processor is configured to run a program or an instruction to implement the above text processing method embodiments
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-a-chip, or the like.
- the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
- a storage medium such as ROM/RAM, magnetic disk, CD-ROM
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
Claims (13)
- 一种文本处理方法,所述方法包括:响应于在第一页面接收到的复制第一文本的第一输入,显示编辑框,所述编辑框中包括基于所述第一文本确定的第一信息,以及与所述第一信息对应的第一控件;响应于接收到的针对与所述第一信息对应的第一控件的第二输入,将所述第一信息粘贴于第一粘贴页面中。
- 根据权利要求1所述的方法,其中,在所述第一控件为发送控件的情况下,所述响应于接收到的针对与所述第一信息对应的第一控件的第二输入,将所述第一信息粘贴于第一粘贴页面中,包括:响应于接收到的针对与所述第一信息对应的第一控件的第二输入,显示P个应用程序的标识信息;响应于接收到的针对目标应用程序的标识信息的第三输入,将所述第一信息粘贴于所述目标应用程序的目标页面中;其中,所述目标应用程序为所述P个应用程序中的应用程序,P为正整数。
- 根据权利要求1所述的方法,其中,在所述第一控件为粘贴控件的情况下,所述响应于接收到的针对与所述第一信息对应的第一控件的第二输入,将所述第一信息粘贴于第一粘贴页面中,包括:接收针对与所述第一信息对应的第一控件的第二输入;响应于所述第二输入,将所述第一信息粘贴于第二页面中,所述第二页面为接收到所述第二输入时的显示页面。
- 根据权利要求1所述的方法,其中,所述响应于在第一页面接收到的复制第一文本的第一输入,显示编辑框,包括:响应于在第一页面接收到的复制第一文本的第一输入,根据所述第一文本的语义识别结果和在第一时长内启动的N个应用程序中的至少一项,识别所述第一文本的复制意图;显示与所述复制意图对应的编辑框;其中,所述编辑框中还包括与所述复制意图对应的标签,所述标签用于:定位所述第一信息的粘贴位置,或,记录所述第一文本的相关信息;所述第一信息与所述标签对应。
- 根据权利要求4所述的方法,其中,在所述标签用于记录所述第一信息的相关信息的情况下,所述响应于接收到的针对与所述第一信息对应的第一控件的第二输入,将所述第一信息粘贴于第一粘贴页面中,包括:接收针对与所述第一信息对应的第一控件的第二输入;响应于所述第二输入,将所述第一信息和所述第一信息对应的标签粘贴于第一粘贴页面中。
- 根据权利要求1所述的方法,其中,所述响应于在第一页面接收到的复制第一文本的第一输入,显示编辑框,包括:响应于在第一页面接收到的复制第一文本的第一输入,显示编辑框,所述编辑框中包括所述第一文本、继续复制控件以及结束复制控件;在接收到针对所述继续复制控件的第四输入的情况下,接收在第三页面接收到的复制第二文本的第五输入;响应于所述第五输入,在所述编辑框中添加所述第二文本;接收针对所述结束复制控件的第六输入;响应于所述第六输入,更新所述编辑框,更新后的编辑框中包括基于所述第一文本确定的第一信息、与所述第一信息对应的第一控件、基于所述第二文本确定的第二信息,以及与所述第二信息对应的第一控件。
- 根据权利要求6所述的方法,其中,所述编辑框中还包括第二控件,所述方法还包括:接收针对所述第二控件的第七输入;响应于所述第七输入,将所述编辑框中包括的全部信息存储至粘贴板中。
- 一种文本处理装置,所述文本处理装置包括:第一显示模块,用于响应于在第一页面接收到的复制第一文本的第一输入,显示编辑框,所述编辑框中包括基于所述第一文本确定的第一信息,以及与所述第一信息对应的第一控件;第一粘贴模块,用于响应于接收到的针对与所述第一信息对应的第一控 件的第二输入,将所述第一信息粘贴于第一粘贴页面中。
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1至7中任一项所述的文本处理方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1至7中任一项所述的文本处理方法的步骤。
- 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至7中任一项所述的文本处理方法的步骤。
- 一种计算机程序产品,其中,所述计算机程序产品被存储在可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至7中任一项所述的文本处理方法的步骤。
- 一种通信设备,被配置为执行如权利要求1至7中任一项所述的文本处理方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110089515.3A CN112765942A (zh) | 2021-01-22 | 2021-01-22 | 文本处理方法、装置、电子设备及可读存储介质 |
CN202110089515.3 | 2021-01-22 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022156669A1 true WO2022156669A1 (zh) | 2022-07-28 |
Family
ID=75706664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/072504 WO2022156669A1 (zh) | 2021-01-22 | 2022-01-18 | 文本处理方法、装置、电子设备及可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112765942A (zh) |
WO (1) | WO2022156669A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118132701A (zh) * | 2024-01-30 | 2024-06-04 | 北京百川智能科技有限公司 | 用户输入信息的优化方法及装置、电子设备和存储介质 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112765942A (zh) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | 文本处理方法、装置、电子设备及可读存储介质 |
CN113407073A (zh) * | 2021-05-11 | 2021-09-17 | 维沃移动通信有限公司 | 信息显示方法和电子设备 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100122160A1 (en) * | 2008-11-10 | 2010-05-13 | International Business Machines Corporation | Non-contiguous content duplication |
CN105512260A (zh) * | 2015-12-03 | 2016-04-20 | 北京奇虎科技有限公司 | 电子书多段节选分享方法及装置 |
CN107967093A (zh) * | 2017-12-21 | 2018-04-27 | 维沃移动通信有限公司 | 一种多段文本复制方法及移动终端 |
WO2019179284A1 (zh) * | 2018-03-19 | 2019-09-26 | 网易(杭州)网络有限公司 | 信息粘贴方法及装置、电子设备、存储介质 |
CN110909524A (zh) * | 2019-11-27 | 2020-03-24 | 维沃移动通信有限公司 | 一种编辑方法及电子设备 |
CN111638838A (zh) * | 2020-05-19 | 2020-09-08 | 维沃移动通信有限公司 | 文本编辑方法、装置及电子设备 |
CN112765942A (zh) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | 文本处理方法、装置、电子设备及可读存储介质 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014059655A1 (zh) * | 2012-10-19 | 2014-04-24 | 东莞宇龙通信科技有限公司 | 终端和粘贴方法 |
CN108021298B (zh) * | 2016-10-28 | 2020-04-24 | 腾讯科技(深圳)有限公司 | 利用剪切板粘贴信息的方法及装置 |
CN106959901B (zh) * | 2017-03-17 | 2018-06-26 | 维沃移动通信有限公司 | 一种多路径复制粘贴方法及移动终端 |
CN108334371B (zh) * | 2017-09-07 | 2021-03-09 | 北京小米移动软件有限公司 | 编辑对象的方法和装置 |
CN108415652B (zh) * | 2018-03-12 | 2020-06-30 | 维沃移动通信有限公司 | 一种文本处理方法及移动终端 |
CN110928611A (zh) * | 2018-09-19 | 2020-03-27 | 西安中兴新软件有限责任公司 | 文本处理方法、终端以及计算机可读存储介质 |
CN111949350A (zh) * | 2020-05-15 | 2020-11-17 | 华为技术有限公司 | 一种界面显示方法和设备 |
CN111913629A (zh) * | 2020-06-29 | 2020-11-10 | 维沃移动通信有限公司 | 信息发送方法、装置和电子设备 |
-
2021
- 2021-01-22 CN CN202110089515.3A patent/CN112765942A/zh active Pending
-
2022
- 2022-01-18 WO PCT/CN2022/072504 patent/WO2022156669A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100122160A1 (en) * | 2008-11-10 | 2010-05-13 | International Business Machines Corporation | Non-contiguous content duplication |
CN105512260A (zh) * | 2015-12-03 | 2016-04-20 | 北京奇虎科技有限公司 | 电子书多段节选分享方法及装置 |
CN107967093A (zh) * | 2017-12-21 | 2018-04-27 | 维沃移动通信有限公司 | 一种多段文本复制方法及移动终端 |
WO2019179284A1 (zh) * | 2018-03-19 | 2019-09-26 | 网易(杭州)网络有限公司 | 信息粘贴方法及装置、电子设备、存储介质 |
CN110909524A (zh) * | 2019-11-27 | 2020-03-24 | 维沃移动通信有限公司 | 一种编辑方法及电子设备 |
CN111638838A (zh) * | 2020-05-19 | 2020-09-08 | 维沃移动通信有限公司 | 文本编辑方法、装置及电子设备 |
CN112765942A (zh) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | 文本处理方法、装置、电子设备及可读存储介质 |
Non-Patent Citations (1)
Title |
---|
ANONYMOUS: "Continuous copy and paste ", 4 March 2019 (2019-03-04), XP055953086, Retrieved from the Internet <URL:https://getquicker.net/Sharedaction?code=6712f788-4576-47a8-f61b-08d69feb7712> * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118132701A (zh) * | 2024-01-30 | 2024-06-04 | 北京百川智能科技有限公司 | 用户输入信息的优化方法及装置、电子设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN112765942A (zh) | 2021-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022156669A1 (zh) | 文本处理方法、装置、电子设备及可读存储介质 | |
US10825456B2 (en) | Method and apparatus for performing preset operation mode using voice recognition | |
WO2020238815A1 (zh) | 显示控制方法及装置、电子设备和存储介质 | |
CN104050153B (zh) | 数据复制和粘贴的方法和装置 | |
WO2022017525A1 (zh) | 页面显示方法、装置和电子设备 | |
US20210352059A1 (en) | Message Display Method, Apparatus, and Device | |
EP2618250A2 (en) | Apparatus and method for providing a clipboard function in a mobile terminal | |
CN108156407A (zh) | 一种视频剪辑方法及终端 | |
WO2022156668A1 (zh) | 信息处理方法和电子设备 | |
EP2544437A1 (en) | Apparatus and method for transmitting message in mobile terminal | |
WO2022063123A1 (zh) | 界面显示方法、装置及电子设备 | |
US10739992B2 (en) | Electronic device and operation method thereof | |
WO2023040896A1 (zh) | 内容分享方法、装置和电子设备 | |
WO2022213944A1 (zh) | 信息引用方法、装置和电子设备 | |
WO2022156709A1 (zh) | 音频信号处理方法、装置、电子设备和可读存储介质 | |
WO2022228377A1 (zh) | 录音方法、装置、电子设备和可读存储介质 | |
WO2022121877A1 (zh) | 消息处理方法、装置和电子设备 | |
WO2022022566A1 (zh) | 图形码识别方法、装置和电子设备 | |
WO2023061414A1 (zh) | 一种文件生成方法、装置及电子设备 | |
WO2022233276A1 (zh) | 显示方法、装置和电子设备 | |
WO2022262721A1 (zh) | 信息交互方法、装置和电子设备 | |
CN113127773A (zh) | 页面处理方法、装置、存储介质及终端设备 | |
WO2023109525A1 (zh) | 电子设备的快捷设置方法、装置、存储介质及电子设备 | |
CN113055529A (zh) | 录音控制方法和录音控制装置 | |
WO2022143660A1 (zh) | 图标显示方法、装置及电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22742148 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22742148 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 180124) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22742148 Country of ref document: EP Kind code of ref document: A1 |