WO2022222864A1 - 文档处理方法、装置和电子设备 - Google Patents

文档处理方法、装置和电子设备 Download PDF

Info

Publication number
WO2022222864A1
WO2022222864A1 PCT/CN2022/087143 CN2022087143W WO2022222864A1 WO 2022222864 A1 WO2022222864 A1 WO 2022222864A1 CN 2022087143 W CN2022087143 W CN 2022087143W WO 2022222864 A1 WO2022222864 A1 WO 2022222864A1
Authority
WO
WIPO (PCT)
Prior art keywords
document
input
user
feature
objects
Prior art date
Application number
PCT/CN2022/087143
Other languages
English (en)
French (fr)
Inventor
李新雨
Original Assignee
维沃移动通信(杭州)有限公司
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 维沃移动通信(杭州)有限公司 filed Critical 维沃移动通信(杭州)有限公司
Publication of WO2022222864A1 publication Critical patent/WO2022222864A1/zh

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

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a document processing method, apparatus and electronic device.
  • the purpose of the embodiments of the present application is to provide a document processing method, apparatus and electronic device, which can solve the problems of cumbersome operations and low efficiency in the process of processing documents by the electronic device.
  • an embodiment of the present application provides a document processing method, the method includes: in the case of displaying a first document, receiving a first input from a user; in response to the first input, determining according to the first feature information The M first objects to be copied in the above-mentioned first document; the M first objects are displayed in the second document; wherein, the first feature information includes at least one of the following: the color of the object to be copied in the first document, The size of the object, the display position information of the object, the semantic information of the object, the type of characters contained in the object, and the number of characters contained in the object; M is a positive integer.
  • an embodiment of the present application provides a document processing device, the device includes: a receiving module, a determining module, and a display module; the receiving module is configured to receive a first input from a user when a first document is displayed; The determining module is configured to, in response to the first input received by the receiving module, determine the M first objects to be copied in the first document according to the first feature information; the display module is configured to display the data determined by the determining module in the second document.
  • the first feature information includes at least one of the following: the color of the object to be copied in the first document, the size of the object, the display position information of the object, the semantic information of the object, the characters contained in the object Type, the number of characters the object contains; M is a positive integer.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where 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 .
  • an embodiment of the present application provides a chip, 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, and implement the first aspect the method described.
  • the document processing apparatus may determine M first objects to be copied in the first document according to the first feature information. Then, the document processing apparatus may display the M first objects in the second document.
  • the first feature information includes at least one of the color, size, display position information, semantic information, type of contained characters, and number of contained characters of the object to be copied in the first document.
  • the document processing apparatus in the present application can display the first document, according to the first feature information, Quickly determine the M first objects to be copied in the first document, without the need for the user to manually select each first object to be copied, thereby simplifying the steps of the document processing apparatus for determining the objects to be copied, and further facilitating the user to trigger document processing
  • the device copies M first objects with one click.
  • the document processing apparatus can quickly display the M first objects in the second document, that is, paste the M first objects in the second document. In this way, the process of processing the document by the electronic device is simple and efficient.
  • FIG. 1 is a schematic flowchart of a document processing method provided by an embodiment of the present application.
  • FIG. 2 is one of interface schematic diagrams of a document processing method application provided by an embodiment of the present application
  • FIG. 3 is the second schematic diagram of the application of a document processing method according to an embodiment of the present application.
  • FIG. 4 is the third interface schematic diagram of a document processing method application provided by an embodiment of the present application.
  • FIG. 5 is a fourth schematic diagram of an interface of a document processing method application provided by an embodiment of the present application.
  • FIG. 6 is a fifth schematic diagram of an interface of a document processing method application provided by an embodiment of the present application.
  • FIG. 7 is a sixth schematic diagram of an interface of a document processing method application provided by an embodiment of the present application.
  • FIG. 8 is a seventh schematic diagram of an interface of a document processing method application provided by an embodiment of the present application.
  • FIG. 9 is an eighth schematic diagram of an interface of a document processing method application provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a document processing apparatus provided by an embodiment of the present application.
  • FIG. 11 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the application.
  • FIG. 12 is a second schematic structural diagram of an electronic device according to 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 data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein.
  • the objects distinguished by “first”, “second”, etc. are usually one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “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.
  • FIG. 1 is a schematic flowchart of a document processing method provided by an embodiment of the present application, including steps 201 to 203:
  • Step 201 The document processing apparatus receives a first input from a user when the first document is displayed.
  • the above-mentioned first document may be a text document, a table document, a dynamic presentation document, or the like, which is not limited in this embodiment of the present application.
  • the above-mentioned first input may be: the user's click input on the first document, or the input of the user's control target control on the first document, or the voice command input by the user, or the user's input.
  • the specific gesture to be input may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present application.
  • the specific gesture in the embodiment of the present application may be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; in the embodiment of the present application
  • the click input can be single-click input, double-click input, or click input for any number of times, etc., and can also be long-press input or short-press input.
  • the above-mentioned user's click input on the first document may specifically be the user's click input on an object in the first document (for example, the second object described below).
  • Step 202 In response to the above-mentioned first input, the document processing apparatus determines M first objects to be copied in the above-mentioned first document according to the first feature information.
  • the above-mentioned first feature information includes at least one of the following items: the color of the object to be copied in the first document, the size of the object (to be copied in the first document), and the display position of the object (to be copied in the first document) information, the semantic information of the object (to be copied in the first document), the character type contained in the object (to be copied in the first document), the number of characters contained in the object (to be copied in the first document); M is a positive integer .
  • the above-mentioned first characteristic information includes but is not limited to the above-mentioned six kinds of information, which can be specifically set according to actual needs, which is not limited in this embodiment of the present application.
  • the above-mentioned first object may include at least one of the following: a character and a picture.
  • the character may include at least one of the following: characters, letters, numbers, and symbols. It can be understood that the above-mentioned first object may be an object copied by the document processing apparatus, and the document processing apparatus may save the first object in the clipboard.
  • the color of the object in this embodiment of the present application may be any color.
  • the color of the object can be: red, yellow, blue, black or green, etc.
  • the character type included in the object in this embodiment of the present application may include at least one of the following: a symbol (eg, %), a number (eg, 10), a letter (eg, A or a), and a character.
  • the number of characters included in the object in this embodiment of the present application may include at least one of the following: the number of symbols, the number of numbers, the number of letters, and the number of characters.
  • the above-mentioned first feature information may be preset by the document processing apparatus system, or may be set by a user, which is not limited in this embodiment of the present application.
  • the document processing apparatus may use AI technology to identify document content in the document, and extract feature information of all objects in the document.
  • the document processing apparatus may establish a first feature look-up table, and the first feature look-up table may include at least one object (including M first objects) in the first document, and at least one object in the first document.
  • the feature information corresponding to each object In this way, the document processing apparatus can quickly determine the M first objects through the first feature lookup table according to the first feature information.
  • the document processing apparatus may acquire text information of the text document. Then, the document processing device can use AI technology to analyze the text information of the text document as a whole, and perform word segmentation according to semantic recognition. Finally, the document processing apparatus may establish a feature query table of feature information corresponding to each segmented word one-to-one in the cache file.
  • the color of the object in this embodiment of the present application can be represented by color
  • the symbol type contained in the object can be represented by code
  • the number type contained in the object can be represented by number
  • the number of characters contained in the object can be represented by count.
  • Example 1 take the text message as "10% increase in GDP” as an example.
  • the document processing device can use AI technology to identify and analyze the text information "gross production increased by 10%", and establish a feature query table including the identified word segmentation (or called text content) and the feature information corresponding to the word segmentation.
  • the table is shown in Table 1. It can be understood that the above participle is an object.
  • the document processing apparatus may update the above-mentioned first feature lookup table in real time according to the edited first document.
  • the above-mentioned editing of the first document may include at least one of the following: deleting the content of the first document, adding content to the first document, and modifying the color of the text.
  • Example 2 in combination with Example 1, as shown in Figure 2, the screen 31 of the document processing device displays the text message "Gross production increased by 10%", when the user wants to modify the color of the number 10, he can click on the desired color , at this time, the document processing apparatus can modify the color of the number 10 to the color #456fff selected by the user. Then, the document processing apparatus may update the feature information "color ⁇ #000000 ⁇ " in the third row of Table 1 to "color ⁇ #456fff ⁇ ".
  • Example 3 in combination with Example 1, if the user triggers the document processing device to modify the text information "gross production value increased by 10%" to "gross production value increased by ⁇ 10", at this time, the document processing device can delete the text content in the fourth row of Table 1 In the feature information corresponding to "%” and "%”, the feature information of the new text content " ⁇ " and " ⁇ ” is added, as shown in Table 2.
  • the method may further include step A1: the document processing apparatus displays the above-mentioned M first objects according to a preset display effect.
  • the above-mentioned preset display effect includes at least one of the following: highlighting and flickering.
  • the screen 31 of the document processing device displays a text document 1, which is
  • the text document 1 includes 4 parts of content displayed in a four-grid format, namely planet-related content, plant-related content, animal-related content, and planet-related content.
  • the user wants to select a title in the 4-part content, the user can click on the screen of the document processing apparatus (ie, the above-mentioned first input).
  • the document processing apparatus may determine the four titles in the text document 1 according to the symbol " ⁇ ", and highlight the four titles.
  • the document processing method provided by this embodiment of the present application can be applied to a scenario where a user actively triggers a document processing apparatus to determine a first object.
  • the user wants to copy an object with the same feature information with one click, the user can input the document processing apparatus by , triggering the document processing device to determine M first objects according to the first feature information, so that the user can copy the M first objects with one click, making the process of processing the document (ie, determining the copied objects) by the document processing device simple and easy.
  • the document processing apparatus may also perform matching on some documents in the first document according to the first feature information to obtain M first objects.
  • first object In an example, in the case that the above-mentioned second object is a character string, the document processing apparatus may determine the above-mentioned M first objects from the second objects according to the first feature information.
  • Step 203 The document processing apparatus displays the above-mentioned M first objects in the second document.
  • the above-mentioned second document may be a text document, a table document, a dynamic presentation document, or the like, which is not limited in this embodiment of the present application.
  • first document and the document type of the above-mentioned second document may be the same or different, which is not limited in this embodiment of the present application.
  • first document and the second document may be text documents; alternatively, the first document may be a table document and the second document may be a text document.
  • the foregoing step 203 may specifically include the following steps 203a and 203b:
  • Step 203a The document processing apparatus receives a fifth input from the user when the second document is displayed.
  • the above-mentioned fifth input may be: a click input by the user on the second document, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual use requirements, and is implemented in this application.
  • the example does not limit this.
  • Step 203b In response to the fifth input, the document processing apparatus displays the M first objects in the second document.
  • the above-mentioned displaying the above-mentioned M first objects in the second document may be understood as: the document processing apparatus directly pastes the above-mentioned M first objects in the second document.
  • the above-mentioned displaying the above-mentioned M first objects in the second document can be understood as: the document processing apparatus updates and displays (ie replaces) the predetermined objects in the second document with the above-mentioned M first objects.
  • the document processing apparatus when the first document is displayed, after receiving the first input from the user, the document processing apparatus can determine, according to the first feature information, M first documents to be copied in the first document object. Then, the document processing apparatus may display the M first objects in the second document.
  • the first feature information includes at least one of the color, size, display position information, semantic information, type of contained characters, and number of contained characters of the object to be copied in the first document.
  • the document processing apparatus in the present application can display the first document, according to the first feature information, Quickly determine the M first objects to be copied in the first document, without the need for the user to manually select each first object to be copied, thereby simplifying the steps of the document processing apparatus for determining the objects to be copied, and further facilitating the user to trigger document processing
  • the device copies M first objects with one click.
  • the document processing apparatus can quickly display the M first objects in the second document, that is, paste the M first objects in the second document. In this way, the process of processing the document by the electronic device is simple and efficient.
  • the above-mentioned first feature information may be set by a user.
  • the method may further include the following steps 202a to 202a: Step 202c:
  • Step 202a In response to the above-mentioned first input, the document processing apparatus displays a feature selection interface.
  • the above feature selection interface includes at least one first feature selection option, and each first feature selection option corresponds to a feature selection method.
  • the above-mentioned second object may include at least one of the following: a character, a picture.
  • the character may include at least one of the following: characters, letters, numbers, and symbols.
  • the foregoing second object may include one object, or may include multiple objects, which is not limited in this embodiment of the present application.
  • the feature selection method in the embodiment of the present application may be a method of selecting according to fixed features (for example, selecting according to color or selecting according to symbols, etc.), or may be a method of selecting according to non-fixed features (such as AI automatic selection, etc.). ).
  • the above-mentioned input of the user to the second object in the first document may be the input of the user to control the target control to stay on the second object.
  • the user when the user wants to trigger the document processing apparatus to display the feature selection interface, first, the user can select the character " ⁇ planet" (that is, the above-mentioned second object) through the mouse; then, the user can The control mouse icon 32 (that is, the above-mentioned target control) is suspended on the character " ⁇ planet" for 1 second (that is, the above-mentioned first input); then, the text processing device can pop up the bubble-type feature selection interface 33 under the character " ⁇ planet” , there are 3 options displayed in the bubble-type feature selection interface 33, which are the “select by color” option 33a, the “select by symbol” option 33b and the “AI automatic selection” option 33c.
  • the above-mentioned user input to the second object in the first document may be the user's click input to the second object through a target control.
  • the user when the user wants to trigger the document processing apparatus to display the feature selection interface, first, the user can select the character " ⁇ planet" (ie, the above-mentioned second object) with the mouse, and move the mouse icon Stay on the character " ⁇ planet"; then, the user can click the right mouse button (that is, the above-mentioned first input); then, the text processing device can pop up the feature selection menu 41 at the bottom right of the character " ⁇ planet" (that is, the above-mentioned feature selection interface), there are three first feature selection options displayed in the feature selection menu 41, which are the “select by color” option 41a, the “select by symbol” option 41b and the “AI automatic selection” option 41c.
  • the document processing device can also display a first menu, which includes four options, namely "Copy”. ” option, “Paste” option, “AI Selection” option and “Copy” option; then, the user can use the mouse to place the mouse icon on the “AI Selection” option, and click the right mouse button, at this time, the text processing device can The feature selection menu 41 pops up.
  • Step 202b The document processing apparatus receives a second input from the user on a target option in the at least one first feature selection option.
  • the above-mentioned second input may be: a user's click input on the target option, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual use requirements. This is not limited.
  • Step 202c In response to the above-mentioned second input, the document processing apparatus selects (or extracts) characteristic information of the second object according to the characteristic selection method corresponding to the above-mentioned target option, so as to obtain the first characteristic information.
  • the feature selection method is the color selection method
  • the color of the second object extracted by the document processing apparatus is the first feature information
  • the document processing apparatus can identify the color or color combination of the second object, and set the key feature information searched by AI as "color + specific color value".
  • the document processing apparatus may find all word segments matching the key feature information in the feature query table corresponding to the first document.
  • the document processing apparatus can extract the key feature information of the character " ⁇ planet" as color ⁇ #456fff ⁇ . Then, the document processing apparatus can search and identify the text content matching the key feature information in the full text of the text document 3 through the AI technology, and select and highlight the text content whose feature information is #456fff.
  • the feature selection method is the character selection method
  • the character type of the second object extracted by the document processing apparatus is the first feature information
  • the document processing apparatus may identify the character or character combination contained in the current text. For example, set the key feature information as "symbol + specific symbol”. The document processing apparatus may find all word segments matching the key feature information in the feature query table corresponding to the first document.
  • the document processing apparatus can extract the key feature information of the character " ⁇ planet" as code ⁇ . Then, the document processing device can search and identify the text content that matches the key feature information in the full text of the text document 1 through the AI technology, and select and highlight the text content whose feature information is code ⁇ .
  • the feature information of the second object extracted by the document processing apparatus is the first feature information.
  • the document processing apparatus can extract the key feature information of the character “ ⁇ whale” as (code ⁇ &count ⁇ 2 ⁇ &color ⁇ black ⁇ ), and the meaning of the key feature information is "starting with the symbol ⁇ , including two characters And the character color is black”.
  • the specific process of determining and displaying the first object by the document processing apparatus may be as follows: First, the document processing apparatus may establish a first storage space, and search the feature query table for an object matching the first feature information according to a specific algorithm; Secondly, after the document processing apparatus finds a matching object, it can add the found object and the display position information related to the object into the first storage space for storage; finally, after the full-text search is completed, the document processing apparatus can For the display position information saved in the first storage space, select and highlight the first object.
  • the method may further include the following steps: the document processing apparatus displays the above-mentioned first characteristic information, and the document processing apparatus may edit the first characteristic information after receiving the user's input of the first characteristic information The information obtains third feature information, and the document processing apparatus determines the object in the first document according to the third feature information.
  • the above-mentioned document processing apparatus displaying the above-mentioned first characteristic information may include: the document processing apparatus displaying the above-mentioned first characteristic information in the third characteristic input area
  • the document processing apparatus may identify the character " ⁇ whale” (that is, the above-mentioned second object), and display the identified key feature information in the third feature input area, where the key feature information is (code ⁇ &count ⁇ 2 ⁇ &color ⁇ black ⁇ ). Then, the user can modify the character color in the key feature information to "red” and the symbol in the key feature information to "-", then the modified key feature information (code ⁇ - ⁇ &count ⁇ 2 ⁇ &color ⁇ red ⁇ ). The meaning of the modified key feature information is "starts with a symbol- and contains two red characters”.
  • the user can save the modified feature information as a matching template, which is convenient for direct use next time.
  • the document processing method provided in this embodiment of the present application can be applied to a scenario in which first feature information is quickly determined.
  • the document processing apparatus can display a feature selection interface including at least one first feature selection option.
  • the input of the options quickly selects the required feature selection method, so that the document processing apparatus can determine the first feature information according to the user's requirements, and at the same time, the determination process of the first feature information is more flexible.
  • the method may further include the following steps 202d to 202g:
  • Step 202d The document processing apparatus receives a third input of the second feature selection option from the user.
  • the above-mentioned third input may be: the user's click input on the second feature selection option, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual use requirements.
  • the embodiment does not limit this.
  • Step 202e In response to the above-mentioned third input, the document processing apparatus displays the first feature input area.
  • the above-mentioned first feature input area may be displayed in any display position on the screen of the document processing apparatus.
  • Step 202f The document processing apparatus receives a fourth input from the user on the above-mentioned first feature input area.
  • the above-mentioned fourth input may be: a click input by the user on the first feature input area, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual use requirements. This is not limited in the application examples.
  • Step 202g In response to the fourth input, the document processing apparatus determines the first feature information according to the information input by the fourth input.
  • the feature selection menu 41 also displays a second feature selection option, that is, a “custom” option 41d.
  • a custom option 41d ie, the above-mentioned third input.
  • the document processing apparatus may pop up a feature input window 42 (ie, the above-mentioned first feature input area), and the feature input window 42 displays the text “input matching template”, a feature input box 42a , "Confirm” button 42b and "Delete” button 42c.
  • the user can input the desired matching information "number ⁇ 0-2 ⁇ &code ⁇ % ⁇ " in the feature input box 42a, and click the "Confirm” button 42b, and the document processing apparatus can determine "number ⁇ 0-2 ⁇ ” &code ⁇ % ⁇ " is the first feature information.
  • the document processing method provided by the embodiment of the present application can be applied to the scene of quickly determining the first feature information.
  • the document processing apparatus can display the first feature input area, and then the user can input the desired feature information through the first feature input area. , so that the document processing apparatus can determine the first feature information according to user requirements, and at the same time, the process of determining the first feature information is more flexible.
  • step 203 specifically includes the following steps 203c and 203d:
  • Step 203c The document processing apparatus determines M target display positions of the second document according to the M display position information corresponding to the M first objects.
  • one first object corresponds to one display position information
  • one target display position is used to display one first object.
  • the above-mentioned display position information includes at least one of the following: context information, actual display position information.
  • the context information may indicate display content before the first object in the first document, and/or display content after the first object in the first document.
  • the above-mentioned actual display position information may indicate the actual display position of the first object.
  • the actual display position information of the first object may be page 6, row 5 of the text document, or may be the abscissa 2 and the ordinate 3 in the table document.
  • the display position information is associated with the first object. After the document processing apparatus determines a first object, its corresponding display position information can be determined through the first object.
  • a text document 1 is displayed on the screen 31 of the document processing device, and the text document 1 includes four parts of content displayed in a four-square format, respectively: Planet-related content, plant-related content, animal-related content, and planet-related content.
  • the context information associated with "---Zhao Jia” is the title “ ⁇ planet"
  • "---Qian” The context information associated with "B” is the title " ⁇ plant”
  • the context information associated with "---Sun Bing” is the title " ⁇ animal”
  • the contextual information associated with "---Li Ding” is the title " ⁇ planet”.
  • the above-mentioned first feature query table can also record each object. display location information. In this way, when the content and feature information of the two objects are exactly the same, the document processing apparatus can locate different objects by using the display position information.
  • Step 203d The document processing apparatus displays the above-mentioned M first objects in the M target display positions.
  • the document processing apparatus can locate the display position of the first object corresponding to the one display position information in the second document according to the one display position information, that is, determine the target display position for displaying the first object.
  • the document processing apparatus can use artificial intelligence (AI) technology to find the first display position information in the second document that is the same as the one display position information, and the display position indicated by the first position information is the basis The target display position determined by the one display position information.
  • AI artificial intelligence
  • the above-mentioned displaying the above-mentioned M first objects in the M target display positions means pasting and displaying the above-mentioned M first objects in the M target display positions.
  • a text document 2 is displayed on the screen 31 of the document processing device, and the text document 2 includes four parts of content displayed vertically, namely, planet-related content, plant-related content, animal-related content and Planet related content.
  • the user wants to paste the copied 4 editor-in-chief names into the text document 2, the user can click the "Paste" control.
  • the document processing apparatus can use AI technology to identify whether there is the same context information in the text document 2 according to the copied context information associated with the names of the four editors-in-chief.
  • AI technology As shown in (b) of FIG. 7 , when the document processing apparatus recognizes that the text document 2 has the same context information, it can adaptively match the four editor-in-chief names in the clipboard to the corresponding four names in the text document 2 Display positions (ie, the above-mentioned M target display positions).
  • the content can be filled in the default order of copying the names of the four editors-in-chief, or directly pasted into the second document according to the original format.
  • the document processing method provided by the embodiment of the present application can be applied to a fast copy and paste scenario.
  • the document processing apparatus in the present application can According to the display position information corresponding to each first object, the target display position to which the first object needs to be pasted is directly determined in the second document, so that M target display positions are determined, so that the document processing device can be used in the M target display position.
  • the M first objects are quickly displayed in the target display positions, that is, the M first objects are pasted in the second document, without the need for the user to manually determine the display position of each first object in the second document. In this way, the process of processing the document by the electronic device is simple and efficient.
  • the document processing apparatus may directly replace the special characters.
  • step 203d may specifically include the following step 203d1:
  • Step 203d1 The document processing apparatus updates and displays (or replaces) the M preset objects in the M target display positions with the M first objects.
  • the above-mentioned preset objects may include at least one of the following: characters, pictures.
  • the character may include at least one of the following: characters, letters, numbers, and symbols.
  • a form document 1 is displayed on the screen 31 of the document processing device.
  • the user wants to fill the data in the form into the quarterly report template in the text document 3, the user can select and copy the form 16 data in document 1.
  • 10% of the associated context information in the first row is GDP and first quarter
  • 50% is associated with total exports and first quarter
  • 18% is associated with emerging investment and first quarter
  • context information associated with each of the 16 pieces of data can be determined.
  • the user can find the icon of the text document 3 in the document processing apparatus, and click the icon. At this time, as shown in (a) of FIG.
  • the screen 31 of the document processing apparatus may display a text document 3, and 16 groups of preset symbols @@ are displayed in the quarterly report template of the text document 3.
  • the user can click the "Paste" control.
  • the document processing apparatus may display the corresponding 16 pieces of data at the display positions of the 16 groups of preset symbols @@ according to the context information of each of the copied 16 pieces of data .
  • the document processing method provided by the embodiment of the present application can be applied to the scene of rapid template replacement.
  • the document processing apparatus can paste the M preset objects into the M preset objects. Assuming that the objects are updated and displayed as M first objects, there is no need for the user to manually delete the preset objects, which can further improve the efficiency of the document processing apparatus for processing documents.
  • the method may further include the following steps B1 and B2:
  • Step B1 The document processing apparatus receives a sixth input from the user when the second document is displayed.
  • the above-mentioned sixth input may be: the user's click input on the second document, or the input of the user's control target control on the second document, or the voice command input by the user, or the specific input by the user.
  • the gesture can be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present application.
  • the above-mentioned user's click input on the second document may specifically be the user's click input on an object in the second document (for example, the third object described below).
  • Step B2 In response to the sixth input, the document processing apparatus determines the M preset objects to be replaced in the second document according to the second feature information.
  • the above-mentioned second feature information includes at least one of the following items: the color of the object to be replaced in the second document, the size of the object to be replaced in the second document, the display position information of the object to be replaced in the second document, the second Semantic information of the object to be replaced in the document, the character type contained in the object to be replaced in the second document, and the number of characters contained in the object to be replaced in the second document.
  • the above-mentioned second characteristic information includes but is not limited to the above-mentioned six kinds of information, which can be specifically set according to actual needs, which is not limited in this embodiment of the present application.
  • the foregoing second feature information may be preset by the document processing apparatus, or may be set by a user, which is not limited in this embodiment of the present application.
  • the document processing method provided by this embodiment of the present application can be applied to a scenario where a user actively triggers a document processing apparatus to determine a preset object.
  • the user wants to replace an object with the same feature information with one click, the user can input the document processing apparatus by , triggering the document processing device to determine M preset objects according to the second feature information, so that the user can replace the M preset objects with one click, so that the process of the document processing device processing the document (ie determining the replacement object) is easy to operate.
  • the foregoing second feature information may be set by a user.
  • the method may further include the following steps C1 to: Step C3:
  • Step C1 In response to the sixth input, the document processing apparatus displays a first feature selection interface.
  • the first feature selection interface includes at least one third feature selection option, and one third feature selection option corresponds to one feature selection method.
  • Step C2 The document processing apparatus receives a seventh input from the user on the first option of the at least one third feature selection option.
  • the above-mentioned seventh input may be: the user's click input on the first option, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual use requirements.
  • This embodiment of the present application This is not limited.
  • Step C3 In response to the seventh input, the document processing apparatus selects (or extracts) the feature information of the third object according to the feature selection method corresponding to the first option to obtain the second feature information.
  • the document processing apparatus can display a second menu 51, which includes four options, namely, a "copy” option, a "paste” option 51a, an "AI selection” option and a "print” option; then, The user can use the mouse to place the mouse icon on the "Paste” option 51a, and click the right mouse button.
  • the text processing device can pop up a feature selection menu 52, and the feature selection menu 52 displays three third feature selection options.
  • the document processing apparatus can extract the key feature information of the symbol "@@" as code ⁇ @@ ⁇ (that is, the above-mentioned second feature information). Identify the text content matching the key feature information, and the text content matching the key feature information is the preset object.
  • the document processing method provided by this embodiment of the present application can be applied to a scenario in which the second feature information is quickly determined.
  • the document processing apparatus can display a feature selection interface including at least one third feature selection option, and then the user can The input of an option quickly selects the required feature selection method, so that the document processing apparatus can determine the second feature information according to the user's requirements, and at the same time, the process of determining the first feature information is more flexible.
  • the method may also include the following steps C4 to steps C7:
  • Step C4 The document processing apparatus receives an eighth input of the fourth feature selection option from the user.
  • the above-mentioned eighth input may be: the user's click input on the fourth feature selection option, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual use requirements.
  • the embodiment does not limit this.
  • Step C5 In response to the above-mentioned eighth input, the document processing apparatus displays the second feature input area.
  • Step C6 The document processing apparatus receives the user's ninth input on the above-mentioned second feature input area.
  • the above-mentioned ninth input may be: a click input by the user on the second feature input area, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual use requirements. This is not limited in the application examples.
  • Step C7 In response to the above ninth input, the document processing apparatus determines the second feature information according to the input content of the ninth input.
  • the document processing method provided by the embodiment of the present application can be applied to the scene of quickly determining the second feature information.
  • the document processing apparatus can display the second feature input area, and then the user can input the desired feature information through the second feature input area. , so that the document processing apparatus can determine the second feature information according to user requirements, and at the same time, the determination process of the second feature information is made more flexible.
  • the execution subject may be a document processing apparatus, or a control module in the document processing apparatus for executing the document processing method.
  • the document processing device provided by the embodiment of the present application is described by taking the document processing method performed by the document processing device as an example.
  • FIG. 10 is a schematic diagram of a possible structure for implementing a document processing apparatus provided by an embodiment of the present application.
  • the document processing apparatus 600 includes: a receiving module 601, a determining module 602, and a display module 603; the receiving module 601, which uses In the case of displaying the first document, the user's first input is received; the determining module 602 is used to respond to the first input received by the receiving module 601, and according to the first feature information, determine the M to be copied in the first document.
  • the display module 603 is configured to display the above-mentioned M first objects determined by the determination module 602 in the second document; wherein, the first feature information includes at least one of the following: Color, size of the object, display position information of the object, semantic information of the object, character type contained in the object, number of characters contained in the object; M is a positive integer.
  • the document processing apparatus 600 further includes: a selection module 604; the above-mentioned first input is the user's input to the second object in the first document; the display module 603 is further configured to respond to the first received by the receiving module 601 Input, and display a feature selection interface, the feature selection interface includes at least one first feature selection option, and each first feature selection option corresponds to a feature selection method; the receiving module 601 is further configured to receive user selection of at least one first feature The second input of the target option in the options; the selection module 604 is used to select the feature information of the second object according to the feature selection method corresponding to the target option in response to the second input received by the receiving module 601 to obtain the first feature information.
  • a selection module 604 the above-mentioned first input is the user's input to the second object in the first document
  • the display module 603 is further configured to respond to the first received by the receiving module 601 Input, and display a feature selection interface, the feature selection interface includes at least one first feature selection option, and each
  • the above-mentioned feature selection interface further includes a second feature selection option; the receiving module 601 is further configured to receive a third input from the user for the second feature selection option; the display module 603 is also configured to respond to the receiving module 601 receiving The received third input, displays the first feature input area; the receiving module 601 is also used to receive the user's fourth input on the first feature input area; the determining module 602 is also used to respond to the input received by the receiving module 601 The fourth input determines the first feature information according to the information inputted by the fourth input.
  • the receiving module 601 is further configured to receive the user's fifth input in the case of displaying the second document; the display module 603 is specifically configured to respond to the fifth input received by the receiving module 601, in the second document The M first objects are displayed.
  • the determining module 602 is further configured to determine M target display positions of the second document according to the M target display position information corresponding to the M first objects;
  • the above-mentioned M target display positions display the above-mentioned M first objects; wherein, one target display position information corresponds to one first object; one target display position is used to display one first object.
  • the modules that must be included in the document processing apparatus 600 are indicated by solid line boxes, such as the receiving module 601 ; the modules that may or may not be included in the document processing apparatus 600 are indicated by dashed boxes, such as Module 604 is selected.
  • the document processing apparatus when the first document is displayed, after receiving the first input from the user, the document processing apparatus can determine, according to the first feature information, M first documents to be copied in the first document object. Then, the document processing apparatus may display the M first objects in the second document.
  • the first feature information includes at least one of the color, size, display position information, semantic information, type of contained characters, and number of contained characters of the object to be copied in the first document.
  • the document processing apparatus in the present application can display the first document, according to the first feature information, Quickly determine the M first objects to be copied in the first document, without the need for the user to manually select each first object to be copied, thereby simplifying the steps of the document processing apparatus for determining the objects to be copied, and further facilitating the user to trigger document processing
  • the device copies M first objects with one click.
  • the document processing apparatus can quickly display the M first objects in the second document, that is, paste the M first objects in the second document. In this way, the process of processing the document by the electronic device is simple and efficient.
  • the document 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 a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the document 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 document processing apparatus provided in this embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 9 , and to avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides an electronic device 700, including a processor 701, a memory 702, a program or instruction stored in the memory 702 and executable on the processor 701,
  • an electronic device 700 including a processor 701, a memory 702, a program or instruction stored in the memory 702 and executable on the processor 701,
  • the program or instruction is executed by the processor 701
  • each process of the above-mentioned document processing method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 12 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
  • the electronic device 100 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 110 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. 12 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 user input unit 107 is configured to receive the user's first input when the first document is displayed; the processor 110 is configured to respond to the first input received by the user input unit 107, according to the first feature information, Determine the M first objects to be copied in the first document; the display unit 106 is configured to display the above-mentioned M first objects determined by the processor 110 in the second document; wherein, the first feature information includes at least one of the following: The color of the object to be copied in the first document, the size of the object, the display position information of the object, the semantic information of the object, the type of characters contained in the object, and the number of characters contained in the object; M is a positive integer.
  • the above-mentioned first input is the input of the user to the second object in the first document;
  • the display unit 106 is further configured to display a feature selection interface in response to the first input received by the user input unit 107, and the feature selection
  • the interface includes at least one first feature selection option, and each first feature selection option corresponds to a feature selection method;
  • the user input unit 107 is further configured to receive a second input from the user to a target option in the at least one first feature selection option ;
  • the processor 110 is configured to select the feature information of the second object according to the feature selection method corresponding to the target option in response to the second input received by the user input unit 107 to obtain the first feature information.
  • the above-mentioned feature selection interface further includes a second feature selection option; the user input unit 107 is further configured to receive a third input from the user for the second feature selection option; the display unit 106 is also configured to respond to the user input unit The third input received at 107 displays the first feature input area; the user input unit 107 is further configured to receive the fourth input from the user on the first feature input area; the processor 110 is further configured to respond to the user input unit The fourth input received at 107, and the first feature information is determined according to the information inputted by the fourth input.
  • the user input unit 107 is further configured to receive a fifth input from the user when the second document is displayed; the display unit 106 is specifically configured to respond to the fifth input received by the user input unit 107, in the first The second document displays M first objects.
  • the processor 110 is further configured to determine the M target display positions of the second document according to the M target display position information corresponding to the M first objects; the display unit 106 is specifically configured to determine in the processor 110
  • the above-mentioned M target display positions display the above-mentioned M first objects; wherein, one target display position information corresponds to one first object; one target display position is used to display one first object.
  • the electronic device when the electronic device displays the first document, after receiving the first input from the user, the electronic device can determine M first objects to be copied in the first document according to the first feature information. Then, the electronic device may display the M first objects in the second document.
  • the first feature information includes at least one of the color, size, display position information, semantic information, type of contained characters, and number of contained characters of the object to be copied in the first document.
  • the electronic device in the present application can display the first document, according to the first feature information, in the The M first objects to be copied are quickly determined in the first document, and the user does not need to manually select each first object to be copied, thereby simplifying the steps for the electronic device to determine the objects to be copied, thereby facilitating the user to trigger the electronic device with one key Copy M first objects.
  • the electronic device can quickly display the M first objects in the second document, that is, paste the M first objects in the second document. In this way, the process of processing the document by the electronic device is simple and efficient.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 106 may include a display panel 1061, which 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 called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned document processing method embodiment can be achieved, and can achieve the same In order to avoid repetition, the technical effect will not be 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-mentioned document 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-mentioned document 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-a-chip, or a system-on-a-chip, or the like.

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)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种文档处理方法、装置和电子设备,属于通信技术领域。该方法包括:在显示第一文档的情况下,接收用户的第一输入;响应于上述第一输入,根据第一特征信息,确定上述第一文档中待复制的M个第一对象;在第二文档显示该M个第一对象;其中,该第一特征信息包括以下至少一项:第一文档中待复制的对象的颜色,对象的尺寸,对象的显示位置信息,对象的语义信息,对象包含的字符类型,对象包含的字符数量;M为正整数。

Description

文档处理方法、装置和电子设备
相关申请的交叉引用
本申请主张在2021年04月20日在中国提交的中国专利申请号202110425900.0的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种文档处理方法、装置和电子设备。
背景技术
随着电子设备的发展,电子设备的功能越来越强大,用户可以通过电子设备查看文档,并对文档进行处理。
目前,在用户通过电子设备对文档进行处理的过程中,经常需要复制粘贴文档中的类似内容。以文本文档为例,当用户想要将复制的文本文档1中的内容1和内容2粘贴到文本文档2时,用户可以先手动选中并触发电子设备复制内容1;然后,用户可以触发电子设备将内容1粘贴至文本文档2;接着,用户可以手动选中并触发电子设备复制内容2;最后,用户可以触发电子设备将内容2粘贴至文本文档2。
然而,通过上述方式,当用户需要对大量相关内容进行复制粘贴时,用户需要不断重复选中内容、复制以及粘贴的操作。如此,使得电子设备处理文档的过程操作繁琐、效率低。
发明内容
本申请实施例的目的是提供一种文档处理方法、装置和电子设备,能够解决电子设备处理文档的过程中,所存在的操作繁琐、效率低的问题。
第一方面,本申请实施例提供了一种文档处理方法,该方法包括:在显示第一文档的情况下,接收用户的第一输入;响应于上述第一输入,根据第一特征信息,确定上述第一文档中待复制的M个第一对象;在第二文档显示该M个第一对象;其中,该第一特征信息包括以下至少一项:第一文档中待复制的对象的颜色,对象的尺寸,对象的显示位置信息,对象的语义信息,对象包含的字符类型,对象包含的字符数量;M为正整数。
第二方面,本申请实施例提供了一种文档处理装置,该装置包括:接收模块、确定模块和显示模块;接收模块,用于在显示第一文档的情况下,接收用户的第一输入;确定模块,用于响应于接收模块接收到的第一输入,根据第一特征信息,确定第一文档中待复制的M个第一对象;显示模块,用于在第二文档显示确定模块确定的上述M个第一对象;其中,该第一特征信息包括以下至少一项:第一文档中待复制的对象的颜色,对象的尺寸,对象的显示位置信息,对象的语义信息,对象包含的字符类型,对象包含的字符数量;M为正整数。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所 述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,文档处理装置在显示第一文档的情况下,接收用户的第一输入之后,可以根据第一特征信息,确定该第一文档中待复制的M个第一对象。然后,文档处理装置可以在第二文档显示该M个第一对象。其中,该第一特征信息包括第一文档中待复制的对象的颜色、尺寸、显示位置信息、语义信息、包含的字符类型和包含的字符数量中的至少一项。通过上述方案,当用户通过电子设备对文档中的多个对象进行复制粘贴时,相比于相关技术,本申请中的文档处理装置可以在显示第一文档的情况下,根据第一特征信息,在第一文档中快速确定出待复制的M个第一对象,无需用户人为地选中每个需要复制的第一对象,从而可以简化文档处理装置确定待复制对象的步骤,进而方便用户触发文档处理装置一键复制M个第一对象。最后,文档处理装置可以在第二文档中快速显示M个第一对象,即在第二文档中粘贴该M个第一对象。如此,使得电子设备处理文档的过程操作简便、效率高。
附图说明
图1为本申请实施例提供的一种文档处理方法流程示意图;
图2为本申请实施例提供的一种文档处理方法应用的界面示意图之一;
图3为本申请实施例提供的一种文档处理方法应用的界面示意图之二;
图4为本申请实施例提供的一种文档处理方法应用的界面示意图之三;
图5为本申请实施例提供的一种文档处理方法应用的界面示意图之四;
图6为本申请实施例提供的一种文档处理方法应用的界面示意图之五;
图7为本申请实施例提供的一种文档处理方法应用的界面示意图之六;
图8为本申请实施例提供的一种文档处理方法应用的界面示意图之七;
图9为本申请实施例提供的一种文档处理方法应用的界面示意图之八;
图10为本申请实施例提供的一种文档处理装置的结构示意图;
图11为本申请实施例提供的一种电子设备的结构示意图之一;
图12为本申请实施例提供的一种电子设备的结构示意图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的文档处理方法进行详细地说明。
图1为本申请实施例提供的一种文档处理方法流程示意图,包括步骤201至步骤203:
步骤201:文档处理装置在显示第一文档的情况下,接收用户的第一输入。
在本申请实施例中,上述的第一文档可以为文本文档,也可以为表格文档,还可以为动态演示文稿文档等,本申请实施例对此不作限定。
在本申请实施例中,上述的第一输入可以为:用户在第一文档上的点击输入,或者为用户控制目标控件在第一文档上的输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。
本申请实施例中的特定手势可以为单击手势、滑动手势、拖动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种;本申请实施例中的点击输入可以为单击输入、双击输入或任意次数的点击输入等,还可以为长按输入或短按输入。
在一种示例中,上述的用户在第一文档上的点击输入具体可以为用户对第一文档中的对象(例如下述的第二对象)的点击输入。
步骤202:响应于上述第一输入,文档处理装置根据第一特征信息,确定上述第一文档中待复制的M个第一对象。
其中,上述第一特征信息包括以下至少一项:第一文档中待复制的对象的颜色,(第一文档中待复制的)对象的尺寸,(第一文档中待复制的)对象的显示位置信息,(第一文档中待复制的)对象的语义信息,(第一文档中待复制的)对象包含的字符类型,(第一文档中待复制的)对象包含的字符数量;M为正整数。
需要说明的是,上述的第一特征信息包括但不限于的上述的六种信息,具体的可以根据实际需求设定,本申请实施例对此不作限定。
在本申请实施例中,上述的第一对象可以包括以下至少一项:字符,图片。其中,该字符可以包括以下至少一项:文字,字母,数字,符号。可以理解,上述的第一对象可以为文档处理装置复制的对象,文档处理装置可以在剪切板中保存该第一对象。
示例性的,本申请实施例中的对象的颜色可以为任意颜色。例如,对象的颜色可以为:红色、黄色、蓝色、黑色或绿色等。示例性的,本申请实施例中的对象包含的字符类型可以包括以下至少一项:符号(如%),数字(如10),字母(如A或a),文字。示例性的,本申请实施例中的对象包含的字符数量可以包括以下至少一项:符号个数,数字个数,字母个数,文字个数。
示例性的,上述的第一特征信息可以为文档处理装置系统预设置的,也可以为用户设置的,本申请实施例对此不作限定。
在一种示例中,在用户触发文档处理装置打开文档之后,文档处理装置可以利用AI技术对文档中的文档内容进行识别,提取出该文档中的所有对象的特征信息。
示例性的,文档处理装置可以建立第一特征查询表,该第一特征查询表可以包括第一文档中的至少一个对象(包括M个第一对象),以及第一文档中的至少一个对象中每个对象对应的特征信息。如此,文档处理装置可以根据第一特征信息,通过第一特征查询表快速确定M个第一对象。
具体地,以第一文档为文本文档为例,文档处理装置可以获取该文本文档的文本信息。然后,文档处理装置可以利用AI技术对该文本文档的文本信息进行整体分析,并根据语义识别进行分词。最后,文档处理装置可以在缓存文件中建立与每个分词一一对应的特征信息的特征查询表。
在一种示例中,本申请实施例中的对象的颜色可以用color表示,对象包含的符号类型可以用code表示,对象包含的数字类型可以用number表示,对象包含的字符数量可以用count表示。
例1,以文本信息为“生产总值提高10%”为例。文档处理装置可以利用AI技术对该文本信息“生产总值提高10%”进行识别分析,建立包含识别出的分词(或称为文本内容)以及分词对应的特征信息的特征查询表,该特征查询表如表1所示。可以理解,上述的分词即为一个对象。
表1
文本内容 特征信息
生产、总值、提高 count{2}、color{#000000}
10 number{10}、color{#000000}
code{%}、color{#000000}
……
需要说明的是,当用户通过文档处理装置编辑第一文档时,文档处理装置可以根据编辑后的第一文档实时更新上述的第一特征查询表。其中,上述的编辑第一文档可以包括以下至少一项:删除第一文档的内容,在第一文档中新增内容,修改文本的颜色。
例2,结合例1,如图2所示,文档处理装置的屏幕31显示有文本信息“生产总值提高10%”,当用户想要修改数字10的颜色时,可以点击想要选择的颜色,此时,文档处理装置可以将数字10的颜色修改用户选择的颜色#456fff。然后,文档处理装置可以将表1第三行的特征信息“color{#000000}”更新为“color{#456fff}”。
例3,结合例1,如果用户触发文档处理装置将文本信息“生产总值提高10%”修改为“生产总值提高¥10”,此时,文档处理装置可以删除表1第四行文本内容中的“%”以及“%”对应的特征信息,新增文本内容“¥”以及“¥”的特征信息,如表2所示。
表2
文本内容 特征信息
生产、总值、提高 count{2}、color{#000000}
10 number{10}、color{#000000}
code{¥}、color{#000000}
……
可选地,在上述步骤202之后,该方法还可以包括步骤A1:文档处理装置按照预设显示效果显示上述M个第一对象。
其中,上述的预设显示效果包括以下至少一项:高亮、闪烁。
举例说明,以第一特征信息为预设的对象包含的字符类型,且该字符类型为符号“·”为例,如图3所示,文档处理装置的屏幕31上显示有文本文档1,该文本文档1包括按照四宫格方式显示的4部分内容,分别为星球相关内容、植物相关内容、动物相关内容和行星相关内容。当用户想要选中4部分内容中的标题时,用户可以点击文档处理装置的屏幕(即上述的第一输入)。此时,文档处理装置可以根据符号“·”确定的文本文档1中的4个标题,并高亮显示该4个标题。
本申请实施例提供的文档处理方法可以应用于用户主动触发文档处理装置确定第一对象的场景中,当用户想要一键复制具有相同特征信息的对象时,用户可以通过对文档处理装置的输入,触发文档处理装置根据第一特征信息确定M个第一对象,从而用户可以一键复制该M个第一对象,使得文档处理装置处理文档(即确定复制对象)的过程操作简便。
可选地,文档处理装置除了可以根据第一特征信息,对第一文档进行全文匹配得到M个第一对象以外,也可以根据第一特征信息,对第一文档中的部分文档进行匹配得到M个第一对象。在一种示例中,在上述的第二对象为一段字符串的情况下,文档处理装置可以根据第一特征信息,从第二对象中确定上述M个第一对象。
步骤203:文档处理装置在第二文档显示上述M个第一对象。
在本申请实施例中,上述的第二文档可以为文本文档,也可以为表格文档,还可以为动态演示文稿文档等,本申请实施例对此不作限定。
需要说明的是,上述的第一文档的文档类型和上述的第二文档的文档类型可以相同,也可以不同,本申请实施例对此不作限定。例如,第一文档和第二文档均可以为文本文档;或者,第一文档可以为表格文档,第二文档可以为文本文档。
可选地,在本申请实施例中,上述的步骤203具体可以包括如下步骤203a和步骤203b:
步骤203a:文档处理装置在显示第二文档的情况下,接收用户的第五输入。
示例性的,上述的第五输入可以为:用户在第二文档上的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。
步骤203b:响应于上述第五输入,文档处理装置在第二文档显示上述M个第一对象。
在一种示例中,上述的在第二文档显示上述M个第一对象可以理解为:文档处理装置在第二文档直接粘贴上述M个第一对象。
在另一种示例中,上述的在第二文档显示上述M个第一对象可以理解为:文档处理装置将第二文档中的预定对象更新显示(即替换)为上述M个第一对象。
本申请实施例提供的文档处理方法,文档处理装置在显示第一文档的情况下,接收用户的第一输入之后,可以根据第一特征信息,确定该第一文档中待复制的M个第一对象。然后,文档处理装置可以在第二文档显示该M个第一对象。其中,该第一特征信息包括第一文档中待复制的对象的颜色、尺寸、显示位置信息、语义信息、包含的字符类型和包含的字符数量中的至少一项。通过上述方案,当用户通过电子设备对文档中的多个对象进行复制粘贴时,相比于相关技术,本申请中的文档处理装置可以在显示第一文档的情况下,根据第一特征信息,在第一文档中快速确定出待复制的M个第一对象,无需用户人为地选中每个需要复制的第一对象,从而可以简化文档处理装置确定待复制对象的步骤,进而方便用户触发文档处理装置一键复制M个第一对象。最后,文档处理装置可以在第二文档中快速显示M个第一对象,即在第二文档中粘贴该M个第一对象。如此,使得电子设备处理文档的过程操作简便、效率高。
可选地,在本申请实施例中,上述的第一特征信息可以为用户设置的。
示例性的,在第一输入为用户对第一文档中的第二对象的输入的情况下,在上述的步骤202中的确定上述M个第一对象之前,该方法还可以包括如下步骤202a至步骤202c:
步骤202a:响应于上述第一输入,文档处理装置显示特征选取界面。
其中,上述特征选取界面包括至少一个第一特征选取选项,每个第一特征选取选项对应一种特征选取方式。
示例性的,上述的第二对象可以包括以下至少一项:字符,图片。其中,该字符可以包括以下至少一项:文字,字母,数字,符号。
示例性的,上述的第二对象可以包括一个对象,也可以包括多个对象,本申请实施例对此不作限定。
示例性的,本申请实施例中的特征选取方式可以为按照固定特征选取的方式(如,按照颜色选取或按照符号选取等),也可以为按照非固定特征选取的方式(如AI自动选取等)。
在一种示例中,上述的用户对第一文档中的第二对象的输入可以为用户控制目标控件在第二对象上停留的输入。例如,结合图3,如图4所示,当用户想要触发文档处理装置显示特征选取界面时,首先,用户可以通过鼠标选中字符“·星球”(即上述第二对象);然后,用户可以控制鼠标图标32(即上述的目标控件)悬浮在字符“·星球”上1秒(即上述的第一输入);接着,文本处理装置可以在字符“·星球”下方弹出气泡式特征选取界面33,该气泡式特征选取界面33中显示有3个选项,分别为“按颜色选取”选项33a,“按符号选取”选项33b和“AI自动选取”选项33c。
在另一种示例中,上述的用户对第一文档中的第二对象的输入可以为用户通过目标控件对第二对象的点击输入。例如,结合图3,如图5所示,当用户想要触发文档处理装置显示特征选取界面时,首先,用户可以通过鼠标选中字符“·星球”(即上述第二对象),并将鼠标图标停留在字符“·星球”上;然后,用户可以点击鼠标右键(即上述的第一输入);接着,文本处理装置可以在字符“·星球”右下方弹出特征选取菜单41(即上述的特征选取界面),该特征选取菜单41中显示有3个第一特征选取选项,分别为“按颜色选取”选项41a,“按符号选取”选项41b和“AI自动选取”选项41c。
需要说明的是,在用户通过鼠标将鼠标图标停留在字符“·星球”上并点击鼠标右键之后,文档处理装置还可以显示第一菜单,该第一菜单中包括4个选项,分别为“复制”选项,“粘贴”选项,“AI选取”选项和“复制”选项;然后,用户可以通过鼠标将鼠标图标停留在“AI选取”选项上,并单击鼠标右键,此时,文本处理装置可以弹出特征选取菜单41。
步骤202b:文档处理装置接收用户对上述至少一个第一特征选取选项中的目标选项的第二输入。
示例性的,上述的第二输入可以为:用户对目标选项的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。
步骤202c:响应于上述第二输入,文档处理装置按照上述目标选项对应的特征选取方式,选取(或提取)第二对象的特征信息,以得到第一特征信息。
下面通过三种示例对文档处理装置确定并显示第一对象的过程进行示例性说明。
在第一种示例中(按照对象的颜色选取):
可以理解,当特征选取方式为按颜色选取的方式时,文档处理装置提取到的第二对象的颜色即为第一特征信息。
示例性的,在第一特征信息为对象的颜色的情况下,文档处理装置可以识别出第 二对象的颜色或者颜色组合,将AI查找的关键特征信息设置为“颜色+具体的色值”。文档处理装置可以在第一文档对应的特征查询表中找到匹配该关键特征信息的所有分词。
例如,结合图5,当用户想要按照颜色的方式选取特征信息时,用户可以点击“按颜色选取”选项41a。此时,文档处理装置可以提取字符“·星球”的关键特征信息为color{#456fff}。然后,文档处理装置可以通过AI技术在文本文档3全文中查找并识别与关键特征信息相匹配的文本内容,选中并高亮显示特征信息为#456fff的文本内容。
在第二种示例中(按照对象的字符类型选取):
可以理解,当特征选取方式为按字符选取的方式时,文档处理装置提取到的第二对象的字符类型即为第一特征信息。
示例性的,在第一特征信息为对象的字符类型的情况下,文档处理装置可以识别出当前文本中包含的字符或字符组合。例如,将关键特征信息设置为“符号+具体的符号”。文档处理装置可以在第一文档对应的特征查询表中找到匹配该关键特征信息的所有分词。
例如,结合图5,当用户想要按照符号选取方式选取特征信息时,用户可以点击“按符号选取”选项41b。此时,文档处理装置可以提取字符“·星球”的关键特征信息为code{·}。然后,文档处理装置可以通过AI技术在文本文档1全文中查找并识别与关键特征信息相匹配的文本内容,选中并高亮显示特征信息为code{·}的文本内容。
在第三种示例中(AI自动选取):
可以理解,当特征选取方式为AI自动选取的方式时,文档处理装置提取到的第二对象的特征信息即为第一特征信息。
例如,以第二对象为字符“·鲸鱼”,当用户想要按照自动选取的方式选取特征信息时,用户可以点击“AI自动选取”选项。此时,文档处理装置可以提取字符“·鲸鱼”的关键特征信息为(code{·}&count{2}&color{black}),该关键特征信息的含义为“以符号·开始、包含两个字符且字符颜色是黑色”。
示例性的,文档处理装置确定并显示第一对象在具体流程可以如下:首先,文档处理装置可以建立第一存储空间,按照特定的算法在特征查询表中进行搜索匹配第一特征信息的对象;其次,当文档处理装置查找到匹配的对象后,可以将找到的对象及与该对象相关的显示位置信息添加入到第一存储空间中存储;最后,文档处理装置在全文搜索结束后,可以根据第一存储空间中保存的显示位置信息,选中并高亮显示第一对象。
可选地,在上述的步骤202c之后,该方法还可以包括如下步骤:文档处理装置显示上述的第一特征信息,文档处理装置可以在接收用户对第一特征信息的输入之后,编辑第一特征信息得到第三特征信息,文档处理装置根据第三特征信息,确定第一文档中的对象。
示例性的,上述的文档处理装置显示上述的第一特征信息可以包括:文档处理装置在第三特征输入区域显示上述的第一特征信息
例如,文档处理装置可以对字符“·鲸鱼”(即上述的第二对象)进行识别,在第三特征输入区域中显示识别出的关键特征信息,该关键特征信息为(code{·}&count{2}&color{black})。然后,用户可以该将关键特征信息中的字符颜 色修改为“红色”,将关键特征信息中的符号修改为“-”,则修改后的关键特征信息(code{-}&count{2}&color{red})。该修改后的关键特征信息的含义为“以符号-开始且包含两个红色字符”。
需要说明的是,用户可以将修改后的特征信息作为匹配模板进行保存,方便下次直接使用。
本申请实施例提供的文档处理方法可以应用于快速确定第一特征信息的场景中,首先,文档处理装置可以显示的包括至少一个第一特征选取选项的特征选取界面,然后,用户可以通过对目标选项的输入,快速选择需求的特征选取方式,如此,使得文档处理装置可以按照用户需求确定第一特征信息,同时,使得第一特征信息的确定过程更灵活。
可选地,在上述特征选取界面还包括第二特征选取选项的情况下,在上述的步骤202a中的文档处理装置显示特征选取界面之后,该方法还可以包括如下步骤202d至步骤202g:
步骤202d:文档处理装置接收用户对第二特征选取选项的第三输入。
示例性的,上述的第三输入可以为:用户对第二特征选取选项的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。
步骤202e:响应于上述第三输入,文档处理装置显示第一特征输入区域。
示例性的,上述的第一特征输入区域可以显示在文档处理装置的屏幕中的任意显示位置。
步骤202f:文档处理装置接收用户在上述第一特征输入区域上的第四输入。
示例性的,上述的第四输入可以为:用户在第一特征输入区域上的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。
步骤202g:响应于上述第四输入,文档处理装置根据第四输入所输入的信息,确定第一特征信息。
举例说明,结合图5,特征选取菜单41中还显示有1个第二特征选取选项,即“自定义”选项41d。当用户想要自行输入特征信息时,用户可以点击该“自定义”选项41d(即上述的第三输入)。此时,如图6所示,文档处理装置可以弹出一个特征输入窗口42(即上述的第一特征输入区域),该特征输入窗口42上显示有文字“输入匹配的模板”、特征输入框42a、“确认”按键42b和“删除”按键42c。然后,用户可以在该特征输入框42a中输入想要匹配的信息“number{0-2}&code{%}”,并点击“确认”按键42b,文档处理装置可以确定“number{0-2}&code{%}”为第一特征信息。
本申请实施例提供的文档处理方法可以应用于快速确定第一特征信息的场景中,文档处理装置可以显示第一特征输入区域,然后,用户可以通过第一特征输入区域输入想要查找的特征信息,如此,使得文档处理装置可以按照用户需求确定第一特征信息,同时,使得第一特征信息的确定过程更灵活。
可选地,在本申请实施例中,上述的步骤203具体包括如下步骤203c和步骤203d:
步骤203c:文档处理装置根据上述M个第一对象对应的M个显示位置信息,确定第二文档的M个目标显示位置。
其中,一个第一对象对应一个显示位置信息,一个目标显示位置用于显示一个第一对象。
示例性的,上述的显示位置信息包括以下至少一项:上下文信息,实际显示位置信息。示例性的,该上下文信息可以指示第一文档中第一对象之前的显示内容,和/或,第一文档中第一对象之后的显示内容。示例性的,上述的实际显示位置信息可以指示第一对象的实际显示位置。例如,第一对象的实际显示位置信息可以为文本文档第6页第5行,或者可以为表格文档中横坐标2,纵坐标3。
示例性的,显示位置信息与第一对象存在关联关系。在文档处理装置确定一个第一对象后,可以通过该第一对象确定其对应的显示位置信息。
举例说明,以显示位置信息为上下文信息为例,如图3所示,文档处理装置的屏幕31上显示有文本文档1,该文本文档1包括按照四宫格方式显示的4部分内容,分别为星球相关内容、植物相关内容、动物相关内容和行星相关内容。若用户通过文档处理装置选中的文本内容为4个主编姓名(即上述的M个第一对象),则“---赵甲”关联的上下文信息为标题“·星球”,“---钱乙”关联的上下文信息为标题“·植物”,“---孙丙”关联的上下文信息为标题“·动物”,“---李丁”关联的上下文信息为标题“·行星”。
需要说明的是的,上述的第一特征查询表中除了可以记录第一文档中的至少一个对象,以及第一文档中的至少一个对象中每个对象对应的特征信息,还可以记录每个对象的显示位置信息。如此,当两个对象的内容及特征信息完全相同时,文档处理装置可以利用显示位置信息定位不同的对象。
步骤203d:文档处理装置在该M个目标显示位置显示上述M个第一对象。
可以理解,文档处理装置可以根据一个显示位置信息,定位该一个显示位置信息对应的第一对象在第二文档中的显示位置,即确定用于显示该第一对象的目标显示位置。具体地,文档处理装置可以利用人工智能(artificial intelligence,AI)技术在第二文档中查找出与该一个显示位置信息相同的第一显示位置信息,该第一位置信息指示的显示位置即为根据该一个显示位置信息确定的目标显示位置。
可以理解,上述的在该M个目标显示位置显示上述M个第一对象,即为在该M个目标显示位置粘贴并显示上述M个第一对象。
举例说明,结合图3,当用户想要复制主编姓名时,可以点击“复制”控件,此时,文档处理装置可以复制4个主编姓名至剪贴板中。如图7中的(a)所示,文档处理装置的屏幕31中显示有文本文档2,该文本文档2包括纵向显示的4部分内容,分别为星球相关内容、植物相关内容、动物相关内容和行星相关内容。当用户想要将复制的4个主编姓名粘贴至文本文档2时,用户可以点击“粘贴”控件。此时,文档处理装置可以根据复制的4个主编姓名关联的上下文信息,利用AI技术识别文本文档2中是否有相同的上下文信息。如图7中的(b)所示,当文档处理装置识别文本文档2中具有相同的上下文信息时,可以将剪切板中的4个主编姓名自适应匹配到文本文档2中对应的4个显示位置(即上述的M个目标显示位置)。
需要说明的是,如果文档处理装置没有匹配到相同的上下文信息,则可以按照复制4个主编姓名的默认顺序进行内容填充,或按照原有格式直接粘贴至第二文档中。
本申请实施例提供的文档处理方法可以应用于快速复制粘贴的场景中,当用户通过电子设备对文档中的多个对象进行复制粘贴时,相比于相关技术,本申请中的文档处理装置可以分别根据每个第一对象对应的显示位置信息,在第二文档中直接确定出需要粘贴该第一对象的目标显示位置,从而确定出M个目标显示位置,进而使得文档处理装置可以在该M个目标显示位置中快速显示该M个第一对象,即在第二文档中 粘贴该M个第一对象,无需用户人为地确定每个第一对象在第二文档中的显示位置。如此,使得电子设备处理文档的过程操作简便、效率高。
可选地,在本申请实施例中,在第二文档具有特殊字符(例如,第二文档具有模板@@)的情况下,文档处理装置可以直接替换该特殊字符。
示例性的,上述的步骤203d具体可以包括如下步骤203d1:
步骤203d1:文档处理装置将上述M个目标显示位置的M个预设对象更新显示(或替换)为上述M个第一对象。
示例性的,上述的预设对象可以包括以下至少一项:字符,图片。其中,该字符可以包括以下至少一项:文字,字母,数字,符号。
举例说明,如图8所示,文档处理装置的屏幕31中显示有表格文档1,当用户想要将表格中的数据填入文本文档3中的季度报表模板中时,用户可以选中并复制表格文档1中的16个数据。其中,第一行中的10%关联的上下文信息为生产总值和第一季度,50关联的上下文信息为出口总数和第一季度,18%关联的上下文信息为新兴投资和第一季度,以及5%关联的上下文信息为利润和第一季度。以此类推,可以确定该16个数据中的每个数据关联的上下文信息。然后,用户可以在文档处理装置中找到文本文档3的图标,并点击该图标。此时,如图9中的(a)所示,文档处理装置的屏幕31可以显示文本文档3,该文本文档3的季度报表模板中显示有16组预设符号@@。接着,用户可以点击“粘贴”控件。此时,如图9中的(b)所示,文档处理装置可以根据复制的16个数据中的每个数据的上下文信息,在16组预设符号@@的显示位置显示对应的16个数据。
本申请实施例提供的文档处理方法可以应用于快速替换模板的场景中,在第二文档包括M个预设对象的情况下,文档处理装置可以在粘贴M个第一对象时,将M个预设对象更新显示为M个第一对象,无需用户再手动删除预设对象,可以进一步提高文档处理装置处理文档的效率。
可选地,在上述的步骤203d1之前,该方法还可以包括如下步骤B1和步骤B2:
步骤B1:文档处理装置在显示上述第二文档的情况下,接收用户的第六输入。
示例性的,上述的第六输入可以为:用户在第二文档上的点击输入,或者为用户控制目标控件在第二文档上的输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。
在一种示例中,上述的用户在第二文档上的点击输入具体可以为用户对第二文档中的对象(例如下述的第三对象)的点击输入。
步骤B2:响应于上述第六输入,文档处理装置根据第二特征信息,确定第二文档中待替换的上述M个预设对象。
其中,上述第二特征信息包括以下至少一项:第二文档中待替换的对象的颜色,第二文档中待替换的对象的尺寸,第二文档中待替换的对象的显示位置信息,第二文档中待替换的对象的语义信息,第二文档中待替换的对象包含的字符类型,第二文档中待替换的对象包含的字符数量。需要说明的是,上述的第二特征信息包括但不限于的上述的六种信息,具体的可以根据实际需求设定,本申请实施例对此不作限定。
示例性的,上述的第二特征信息可以为文档处理装置预设置的,也可以为用户设置的,本申请实施例对此不作限定。
本申请实施例提供的文档处理方法可以应用于用户主动触发文档处理装置确定预设对象的场景中,当用户想要一键替换具有相同特征信息的对象时,用户可以通过对 文档处理装置的输入,触发文档处理装置根据第二特征信息确定M个预设对象,从而用户可以一键替换该M个预设对象,使得文档处理装置处理文档(即确定替换对象)的过程操作简便。
需要说明的是,文档处理装置确定预设对象的过程具体可以参考本申请实施例中对确定第一对象的描述,此处不再赘述。
可选地,在本申请实施例中,上述的第二特征信息可以为用户设置的。
示例性的,在第六输入为用户对第一文档中的第三对象的输入的情况下,在上述的步骤B2中的确定上述M个预设对象之前,该方法还可以包括如下步骤C1至步骤C3:
步骤C1:响应于上述第六输入,文档处理装置显示第一特征选取界面。
其中,第一特征选取界面包括至少一个第三特征选取选项,一个第三特征选取选项对应一个特征选取方式。
步骤C2:文档处理装置接收用户对上述至少一个第三特征选取选项中的第一选项的第七输入。
示例性的,上述的第七输入可以为:用户对第一选项的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。
步骤C3:响应于上述第七输入,文档处理装置按照上述第一选项对应的特征选取方式,选取(或提取)第三对象的特征信息,以得到第二特征信息。
举例说明,结合图9中的(a),在用户通过鼠标选中一组符号“@@”,且将鼠标图标停留在该一组符号“@@”的情况下,用户可以单击鼠标右键,此时,文档处理装置可以显示第二菜单51,该第二菜单51中包括4个选项,分别为“复制”选项,“粘贴”选项51a,“AI选取”选项和“打印”选项;然后,用户可以通过鼠标将鼠标图标停留在“粘贴”选项51a上,并单击鼠标右键,此时,文本处理装置可以弹出特征选取菜单52,该特征选取菜单52中显示有3个第三特征选取选项,分别为“按颜色选取”选项52a,“按符号选取”选项52b和“AI自动选取”选项52c。当用户想要按照符号选取方式选取特征信息时,用户可以点击“按符号选取”选项52b。此时,文档处理装置可以提取符号“@@”的关键特征信息为code{@@}(即上述的第二特征信息),然后,文档处理装置可以通过AI技术在文本文档3全文中查找并识别与关键特征信息相匹配的文本内容,与关键特征信息相匹配的文本内容即为预设对象。
本申请实施例提供的文档处理方法可以应用于快速确定第二特征信息的场景中,首先,文档处理装置可以显示的包括至少一个第三特征选取选项的特征选取界面,然后,用户可以通过对第一选项的输入,快速选择需求的特征选取方式,如此,使得文档处理装置可以按照用户需求确定第二特征信息,同时,使得第一特征信息的确定过程更灵活。
可选地,在上述第一特征选取界面还包括第四特征选取选项的情况下,在上述的步骤C1中的文档处理装置显示第一特征选取界面之后,该方法还可以包括如下步骤C4至步骤C7:
步骤C4:文档处理装置接收用户对第四特征选取选项的第八输入。
示例性的,上述的第八输入可以为:用户对第四特征选取选项的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。
步骤C5:响应于上述第八输入,文档处理装置显示第二特征输入区域。
步骤C6:文档处理装置接收用户在上述第二特征输入区域上的第九输入。
示例性的,上述的第九输入可以为:用户在第二特征输入区域上的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。
步骤C7:响应于上述第九输入,文档处理装置根据第九输入所输入的内容,确定第二特征信息。
本申请实施例提供的文档处理方法可以应用于快速确定第二特征信息的场景中,文档处理装置可以显示第二特征输入区域,然后,用户可以通过第二特征输入区域输入想要查找的特征信息,如此,使得文档处理装置可以按照用户需求确定第二特征信息,同时,使得第二特征信息的确定过程更灵活。
需要说明的是,文档处理装置确定第二特征信息的过程具体可以参考本申请实施例中对确定第一特征信息的描述,此处不再赘述。
需要说明的是,本申请实施例提供的文档处理方法,执行主体可以为文档处理装置,或者该文档处理装置中的用于执行文档处理方法的控制模块。本申请实施例中以文档处理装置执行文档处理方法为例,说明本申请实施例提供的文档处理装置。
图10为实现本申请实施例提供的一种文档处理装置的可能的结构示意图,如图10所示,文档处理装置600包括:接收模块601、确定模块602和显示模块603;接收模块601,用于在显示第一文档的情况下,接收用户的第一输入;确定模块602,用于响应于接收模块601接收到的第一输入,根据第一特征信息,确定第一文档中待复制的M个第一对象;显示模块603,用于在第二文档显示确定模块602确定的上述M个第一对象;其中,该第一特征信息包括以下至少一项:第一文档中待复制的对象的颜色,对象的尺寸,对象的显示位置信息,对象的语义信息,对象包含的字符类型,对象包含的字符数量;M为正整数。
可选地,文档处理装置600还包括:选取模块604;上述第一输入为用户对第一文档中的第二对象的输入;显示模块603,还用于响应于接收模块601接收到的第一输入,显示特征选取界面,该特征选取界面包括至少一个第一特征选取选项,每个第一特征选取选项对应一种特征选取方式;接收模块601,还用于接收用户对至少一个第一特征选取选项中的目标选项的第二输入;选取模块604,用于响应于接收模块601接收到的第二输入,按照目标选项对应的特征选取方式,选取第二对象的特征信息,以得到第一特征信息。
可选地,上述特征选取界面还包括第二特征选取选项;接收模块601,还用于接收用户对该第二特征选取选项的第三输入;显示模块603,还用于响应于接收模块601接收到的第三输入,显示第一特征输入区域;接收模块601,还用于接收用户在该第一特征输入区域上的第四输入;确定模块602,还用于响应于接收模块601接收到的第四输入,根据第四输入所输入的信息,确定第一特征信息。
可选地,接收模块601,还用于在显示第二文档的情况下,接收用户的第五输入;显示模块603,具体用于响应于接收模块601接收到的第五输入,在第二文档显示M个第一对象。
可选地,确定模块602,还用于根据M个第一对象对应的M个目标显示位置信息,确定第二文档的M个目标显示位置;显示模块603,具体用于在确定模块602确定的上述M个目标显示位置显示上述M个第一对象;其中,一个目标显示位置信息对应 一个第一对象;一个目标显示位置用于显示一个第一对象。
需要说明的是,如图10所示,文档处理装置600中一定包括的模块用实线框示意,如接收模块601;文档处理装置600中可以包括也可以不包括的模块用虚线框示意,如选取模块604。
本申请实施例提供的文档处理装置,文档处理装置在显示第一文档的情况下,接收用户的第一输入之后,可以根据第一特征信息,确定该第一文档中待复制的M个第一对象。然后,文档处理装置可以在第二文档显示该M个第一对象。其中,该第一特征信息包括第一文档中待复制的对象的颜色、尺寸、显示位置信息、语义信息、包含的字符类型和包含的字符数量中的至少一项。通过上述方案,当用户通过电子设备对文档中的多个对象进行复制粘贴时,相比于相关技术,本申请中的文档处理装置可以在显示第一文档的情况下,根据第一特征信息,在第一文档中快速确定出待复制的M个第一对象,无需用户人为地选中每个需要复制的第一对象,从而可以简化文档处理装置确定待复制对象的步骤,进而方便用户触发文档处理装置一键复制M个第一对象。最后,文档处理装置可以在第二文档中快速显示M个第一对象,即在第二文档中粘贴该M个第一对象。如此,使得电子设备处理文档的过程操作简便、效率高。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
本申请实施例中的文档处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的文档处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的文档处理装置能够实现图1至图9的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选的,如图11所示,本申请实施例还提供一种电子设备700,包括处理器701,存储器702,存储在存储器702上并可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述文档处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图12为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图12中示出的电子设备结构并不构成 对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元107,用于在显示第一文档的情况下,接收用户的第一输入;处理器110,用于响应于用户输入单元107接收到的第一输入,根据第一特征信息,确定第一文档中待复制的M个第一对象;显示单元106,用于在第二文档显示处理器110确定的上述M个第一对象;其中,该第一特征信息包括以下至少一项:第一文档中待复制的对象的颜色,对象的尺寸,对象的显示位置信息,对象的语义信息,对象包含的字符类型,对象包含的字符数量;M为正整数。
可选地,上述第一输入为用户对第一文档中的第二对象的输入;显示单元106,还用于响应于用户输入单元107接收到的第一输入,显示特征选取界面,该特征选取界面包括至少一个第一特征选取选项,每个第一特征选取选项对应一种特征选取方式;用户输入单元107,还用于接收用户对至少一个第一特征选取选项中的目标选项的第二输入;处理器110,用于响应于用户输入单元107接收到的第二输入,按照目标选项对应的特征选取方式,选取第二对象的特征信息,以得到第一特征信息。
可选地,上述特征选取界面还包括第二特征选取选项;用户输入单元107,还用于接收用户对该第二特征选取选项的第三输入;显示单元106,还用于响应于用户输入单元107接收到的第三输入,显示第一特征输入区域;用户输入单元107,还用于接收用户在该第一特征输入区域上的第四输入;处理器110,还用于响应于用户输入单元107接收到的第四输入,根据第四输入所输入的信息,确定第一特征信息。
可选地,用户输入单元107,还用于在显示第二文档的情况下,接收用户的第五输入;显示单元106,具体用于响应于用户输入单元107接收到的第五输入,在第二文档显示M个第一对象。
可选地,处理器110,还用于根据M个第一对象对应的M个目标显示位置信息,确定第二文档的M个目标显示位置;显示单元106,具体用于在处理器110确定的上述M个目标显示位置显示上述M个第一对象;其中,一个目标显示位置信息对应一个第一对象;一个目标显示位置用于显示一个第一对象。
本申请实施例提供的电子设备,电子设备在显示第一文档的情况下,接收用户的第一输入之后,可以根据第一特征信息,确定该第一文档中待复制的M个第一对象。然后,电子设备可以在第二文档显示该M个第一对象。其中,该第一特征信息包括第一文档中待复制的对象的颜色、尺寸、显示位置信息、语义信息、包含的字符类型和包含的字符数量中的至少一项。通过上述方案,当用户通过电子设备对文档中的多个对象进行复制粘贴时,相比于相关技术,本申请中的电子设备可以在显示第一文档的情况下,根据第一特征信息,在第一文档中快速确定出待复制的M个第一对象,无需用户人为地选中每个需要复制的第一对象,从而可以简化电子设备确定待复制对象的步骤,进而方便用户触发电子设备一键复制M个第一对象。最后,电子设备可以在第二文档中快速显示M个第一对象,即在第二文档中粘贴该M个第一对象。如此,使得电子设备处理文档的过程操作简便、效率高。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处 理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述文档处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述文档处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种文档处理方法,所述方法包括:
    在显示第一文档的情况下,接收用户的第一输入;
    响应于所述第一输入,根据第一特征信息,确定所述第一文档中待复制的M个第一对象;
    在第二文档显示所述M个第一对象;
    其中,所述第一特征信息包括以下至少一项:第一文档中待复制的对象的颜色,对象的尺寸,对象的显示位置信息,对象的语义信息,对象包含的字符类型,对象包含的字符数量;M为正整数。
  2. 根据权利要求1所述的方法,其中,所述第一输入为用户对所述第一文档中的第二对象的输入;
    在确定所述第一文档中待复制的M个第一对象之前,所述方法还包括:
    响应于所述第一输入,显示特征选取界面,所述特征选取界面包括至少一个第一特征选取选项,每个第一特征选取选项对应一种特征选取方式;
    接收用户对所述至少一个第一特征选取选项中的目标选项的第二输入;
    响应于所述第二输入,按照所述目标选项对应的特征选取方式,选取所述第二对象的特征信息,以得到所述第一特征信息。
  3. 根据权利要求2所述的方法,其中,所述特征选取界面还包括第二特征选取选项;
    在显示特征选取界面之后,所述方法还包括:
    接收用户对所述第二特征选取选项的第三输入;
    响应于所述第三输入,显示第一特征输入区域;
    接收用户在所述第一特征输入区域上的第四输入;
    响应于所述第四输入,根据所述第四输入所输入的信息,确定所述第一特征信息。
  4. 根据权利要求1至3中任一项所述的方法,其中,所述在第二文档显示所述M个第一对象,包括:
    在显示所述第二文档的情况下,接收用户的第五输入;
    响应于所述第五输入,在第二文档显示所述M个第一对象。
  5. 根据权利要求1至3中任一项所述的方法,其中,在第二文档显示所述M个第一对象,包括:
    根据所述M个第一对象对应的M个目标显示位置信息,确定第二文档的M个目标显示位置;
    在所述M个目标显示位置显示所述M个第一对象;
    其中,一个目标显示位置信息对应一个第一对象;一个目标显示位置用于显示一个第一对象。
  6. 一种文档处理装置,所述文档处理装置包括:接收模块、确定模块和显示模块;
    所述接收模块,用于在显示第一文档的情况下,接收用户的第一输入;
    所述确定模块,用于响应于所述接收模块接收到的所述第一输入,根据第一特征信息,确定所述第一文档中待复制的M个第一对象;
    所述显示模块,用于在第二文档显示所述确定模块确定的所述M个第一对象;
    其中,所述第一特征信息包括以下至少一项:第一文档中待复制的对象的颜色, 对象的尺寸,对象的显示位置信息,对象的语义信息,对象包含的字符类型,对象包含的字符数量;M为正整数。
  7. 根据权利要求6所述的文档处理装置,其中,所述文档处理装置还包括:选取模块;所述第一输入为用户对所述第一文档中的第二对象的输入;
    所述显示模块,还用于响应于所述接收模块接收到的所述第一输入,显示特征选取界面,所述特征选取界面包括至少一个第一特征选取选项,每个第一特征选取选项对应一种特征选取方式;
    所述接收模块,还用于接收用户对所述至少一个第一特征选取选项中的目标选项的第二输入;
    所述选取模块,用于响应于所述接收模块接收到的所述第二输入,按照所述目标选项对应的特征选取方式,选取所述第二对象的特征信息,以得到所述第一特征信息。
  8. 根据权利要求7所述的文档处理装置,其中,所述特征选取界面还包括第二特征选取选项;
    所述接收模块,还用于接收用户对所述第二特征选取选项的第三输入;
    所述显示模块,还用于响应于所述接收模块接收到的所述第三输入,显示第一特征输入区域;
    所述接收模块,还用于接收用户在所述第一特征输入区域上的第四输入;
    所述确定模块,还用于响应于所述接收模块接收到的所述第四输入,根据所述第四输入所输入的信息,确定所述第一特征信息。
  9. 根据权利要求6至8中任一项所述的文档处理装置,其中,
    所述接收模块,还用于在显示所述第二文档的情况下,接收用户的第五输入;
    所述显示模块,具体用于响应于所述接收模块接收到的所述第五输入,在第二文档显示所述M个第一对象。
  10. 根据权利要求6至8中任一项所述的文档处理装置,其中,
    所述确定模块,还用于根据所述M个第一对象对应的M个目标显示位置信息,确定第二文档的M个目标显示位置;
    所述显示模块,具体用于在所述确定模块确定的所述M个目标显示位置显示所述M个第一对象;
    其中,一个目标显示位置信息对应一个第一对象;一个目标显示位置用于显示一个第一对象。
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的文档处理方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的文档处理方法的步骤。
  13. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的文档处理方法。
  14. 一种电子设备,包括电子设备被配置成用于执行如权利要求1至5中任一项所述的文档处理方法。
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的文档处理方法。
PCT/CN2022/087143 2021-04-20 2022-04-15 文档处理方法、装置和电子设备 WO2022222864A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110425900.0 2021-04-20
CN202110425900.0A CN113238686B (zh) 2021-04-20 2021-04-20 文档处理方法、装置和电子设备

Publications (1)

Publication Number Publication Date
WO2022222864A1 true WO2022222864A1 (zh) 2022-10-27

Family

ID=77128599

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/087143 WO2022222864A1 (zh) 2021-04-20 2022-04-15 文档处理方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN113238686B (zh)
WO (1) WO2022222864A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238686B (zh) * 2021-04-20 2023-11-03 维沃移动通信(杭州)有限公司 文档处理方法、装置和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08202711A (ja) * 1995-01-23 1996-08-09 Canon Inc 文書編集操作電子装置
CN111124709A (zh) * 2019-12-13 2020-05-08 维沃移动通信有限公司 一种文本处理方法及电子设备
CN111752459A (zh) * 2020-05-28 2020-10-09 维沃移动通信有限公司 信息处理方法、装置、设备和存储介质
WO2020238938A1 (zh) * 2019-05-29 2020-12-03 维沃移动通信有限公司 信息输入方法及移动终端
CN113238686A (zh) * 2021-04-20 2021-08-10 维沃移动通信(杭州)有限公司 文档处理方法、装置和电子设备

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6386540B2 (ja) * 2013-05-13 2018-09-05 株式会社ミツトヨ 動作コンテキストを意識したコピーアンドペースト機能を含むマシンビジョンシステムプログラム編集環境
US20140372865A1 (en) * 2013-06-13 2014-12-18 Microsoft Corporation Interaction of Web Content with an Electronic Application Document
CN104090904B (zh) * 2014-05-16 2018-03-23 百度在线网络技术(北京)有限公司 一种用于提供目标搜索结果的方法与设备
CN104317949B (zh) * 2014-11-06 2017-12-08 北京德塔普博软件有限公司 文档片段内容提取方法、装置和系统
US9710742B2 (en) * 2015-12-02 2017-07-18 Microsoft Technology Licensing, Llc Copy and paste with scannable code
CN110032324B (zh) * 2018-01-11 2024-03-05 荣耀终端有限公司 一种文本选中方法及终端
CN109145272B (zh) * 2018-07-27 2022-09-16 广州视源电子科技股份有限公司 文本渲染和布局方法、装置、设备和存储介质
CN110018762A (zh) * 2019-03-15 2019-07-16 维沃移动通信有限公司 一种文本复制方法及移动终端
CN112000257A (zh) * 2019-05-27 2020-11-27 珠海金山办公软件有限公司 一种文档重点内容的导出方法及装置
CN112465989A (zh) * 2020-11-30 2021-03-09 深圳市大富网络技术有限公司 一种虚拟三维对象数据传输方法以及相关装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08202711A (ja) * 1995-01-23 1996-08-09 Canon Inc 文書編集操作電子装置
WO2020238938A1 (zh) * 2019-05-29 2020-12-03 维沃移动通信有限公司 信息输入方法及移动终端
CN111124709A (zh) * 2019-12-13 2020-05-08 维沃移动通信有限公司 一种文本处理方法及电子设备
CN111752459A (zh) * 2020-05-28 2020-10-09 维沃移动通信有限公司 信息处理方法、装置、设备和存储介质
CN113238686A (zh) * 2021-04-20 2021-08-10 维沃移动通信(杭州)有限公司 文档处理方法、装置和电子设备

Also Published As

Publication number Publication date
CN113238686A (zh) 2021-08-10
CN113238686B (zh) 2023-11-03

Similar Documents

Publication Publication Date Title
US20190340209A1 (en) Method for searching and device thereof
WO2014061996A1 (en) User terminal device and control method thereof
WO2022199543A1 (zh) 消息处理方法、装置和电子设备
WO2022161431A1 (zh) 显示方法、装置及电子设备
WO2023040896A1 (zh) 内容分享方法、装置和电子设备
US20140365866A1 (en) Recording medium, document providing device, and document display system
WO2022233276A1 (zh) 显示方法、装置和电子设备
WO2022222864A1 (zh) 文档处理方法、装置和电子设备
CN111859856A (zh) 信息显示方法、装置、电子设备及存储介质
WO2022242542A1 (zh) 应用图标的管理方法和电子设备
WO2022206538A1 (zh) 信息发送方法、信息发送装置和电子设备
WO2022105754A1 (zh) 输入文字的方法、装置和电子设备
WO2022068719A1 (zh) 图像显示方法、装置和电子设备
WO2022095885A1 (zh) 应用程序切换处理方法、装置和电子设备
CN109933702B (zh) 一种检索展示方法、装置、设备及存储介质
US20240061990A1 (en) Document Generation Method and Electronic Device and Non-transitory Readable Storage Medium
CN113590008A (zh) 聊天消息显示方法、装置及电子设备
WO2023155874A1 (zh) 应用图标管理方法、装置和电子设备
WO2023284640A1 (zh) 图片处理方法和电子设备
WO2023138475A1 (zh) 图标管理方法、装置、设备和存储介质
WO2022247830A1 (zh) 图片管理方法、装置及电子设备
WO2023045922A1 (zh) 信息输入方法、装置
WO2022247787A1 (zh) 应用归类方法、装置及电子设备
WO2022228433A1 (zh) 信息处理方法、装置以及电子设备
WO2022237877A1 (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: 22790972

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: 22790972

Country of ref document: EP

Kind code of ref document: A1