CN112269519B - Document processing method and device and electronic equipment - Google Patents

Document processing method and device and electronic equipment Download PDF

Info

Publication number
CN112269519B
CN112269519B CN202011080551.5A CN202011080551A CN112269519B CN 112269519 B CN112269519 B CN 112269519B CN 202011080551 A CN202011080551 A CN 202011080551A CN 112269519 B CN112269519 B CN 112269519B
Authority
CN
China
Prior art keywords
content
input
screen
identifiers
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011080551.5A
Other languages
Chinese (zh)
Other versions
CN112269519A (en
Inventor
沈振兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011080551.5A priority Critical patent/CN112269519B/en
Publication of CN112269519A publication Critical patent/CN112269519A/en
Application granted granted Critical
Publication of CN112269519B publication Critical patent/CN112269519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Landscapes

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

Abstract

The application discloses a document processing method and device and electronic equipment, and belongs to the technical field of communication. The method and the device can solve the problems of complex operation and time consumption when a plurality of discontinuous contents in the document are obtained. The method comprises the following steps: receiving a first input of M contents in a first document in a case where the first document is displayed; in response to the first input, displaying M first identifiers, each first identifier being used for indicating one of the M contents; receiving second input of N first identifications in the M first identifications; responding to the second input, controlling and combining N contents to obtain a target document, wherein the N contents are indicated by the N first identifiers; wherein M and N are positive integers, and M is greater than or equal to N. The method can be applied to a scene of processing a target document through a long document.

Description

Document processing method and device and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a document processing method and device and electronic equipment.
Background
With the development of electronic technology, the functions of electronic equipment are increasingly rich. A user can use the electronic device to read documents such as books, newspapers and magazines, and foreign matters.
Currently, in the process of reading a long document by using an application program a, if a user wants to obtain a plurality of discontinuous contents in the long document, the user needs to perform an intercepting operation on each user-interested content in the long document to obtain a plurality of intercepted images. The user may then trigger the electronic device to exit application a and launch application B. Subsequently, the user can stitch the plurality of captured images in the application B to obtain an image including a plurality of discontinuous contents. As such, it may result in tedious and time-consuming operations to obtain multiple discrete contents in the document.
Disclosure of Invention
An embodiment of the present application provides a document processing method, an apparatus, and an electronic device, which can solve the problems of complex operation and time consumption when multiple discontinuous contents in a document are obtained.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a document processing method, where the method includes: receiving a first input of M contents in a first document in a case where the first document is displayed; in response to the first input, displaying M first identifiers, each first identifier being used for indicating one of the M contents; receiving second input of N first identifications in the M first identifications; responding to the second input, controlling and combining N contents to obtain a target document, wherein the N contents are indicated by the N first identifiers; wherein M and N are positive integers, and M is greater than or equal to N.
In a second aspect, an embodiment of the present application provides a document processing apparatus, including: the device comprises a display module, a receiving module and a processing module. A receiving module, configured to receive a first input of M contents in a first document in a case where the display module displays the first document; a display module, configured to display M first identifiers in response to the first input received by the receiving module, where each first identifier is used to indicate one of the M contents; the receiving module is further used for receiving second input of N first identifications in the M first identifications; the processing module is used for responding to the second input received by the receiving module, and controlling and combining N contents to obtain a target document, wherein the N contents are indicated by the N first identifiers; wherein M and N are positive integers, and M is greater than or equal to N.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, and the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, in the case that the electronic equipment displays a first document, receiving a first input of a user on M contents in the first document; and in response to the first input, displaying M first identifiers (each indicating one of the M contents); receiving second input of N first identifications in the M first identifications; and responding to the second input, and controlling the N contents indicated by the N first identifiers to be merged to obtain the target document. Wherein M and N are positive integers, and M is greater than or equal to N. By the method, the user can trigger the electronic equipment to merge the content corresponding to the first identifier selected by the user in one application program only by the operation of selecting the first identifier so as to obtain the target document. Compared with the related technology, the method can avoid multiple screen capturing operations on the content selected by the user, and can splice the captured multiple contents again through the application program of image processing. Therefore, the operation process of obtaining a plurality of discontinuous contents in the document is simplified, the time of a user is saved, and the use experience of the user is improved.
Drawings
FIG. 1 is a diagram illustrating a document processing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating an operation of an electronic device to obtain a target document according to an embodiment of the present application;
FIG. 3 is a second schematic diagram of a document processing method according to an embodiment of the present application;
fig. 4 is an operation diagram of an electronic device display content selection control provided in an embodiment of the present application;
FIG. 5 is a third schematic diagram of a document processing method according to an embodiment of the present application;
fig. 6 is a second operation diagram illustrating an electronic device obtaining a target document according to an embodiment of the present application;
FIG. 7 is a fourth illustration of a document processing method according to an embodiment of the present application;
FIG. 8 is a fifth illustration of a document processing method according to an embodiment of the present application;
fig. 9 is a third operation diagram illustrating an operation of obtaining a target document by an electronic device according to an embodiment of the present application;
FIG. 10 is a schematic structural diagram of a document processing apparatus according to an embodiment of the present application;
fig. 11 is a hardware schematic diagram of an electronic device according to an embodiment of the present disclosure;
fig. 12 is a second hardware schematic diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. The objects distinguished by "first", "second", and the like are usually a class, and the number of the objects is not limited, and for example, the first object may be one or a plurality of objects. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The document processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The document processing method provided by the embodiment of the application can be applied to the following scenes:
scenario 1, in the process of reading a long document, a user needs to select, copy and store a plurality of discontinuous contents.
And 2, in a scene that a user needs to store, secondarily edit and use a plurality of discontinuous contents such as characters, images, audios or videos in the articles under the condition of reading the articles pushed by long microblogs, news and public numbers.
And 3, when the user reads the electronic book, quickly generating a reading content excerpt and a reading note scene.
In the embodiment of the application, in the case that the electronic equipment displays a first document, receiving a first input of a user on M contents in the first document; and in response to the first input, displaying M first identifiers (each indicating one of the M contents); receiving second input of N first identifications in the M first identifications; and responding to the second input, and controlling the N contents indicated by the N first identifiers to be merged to obtain the target document. Wherein M and N are positive integers, and M is greater than or equal to N. By the method, the user can trigger the electronic equipment to merge the content corresponding to the first identifier selected by the user in one application program only by the operation of selecting the first identifier so as to obtain the target document. Compared with the related technology, the method can avoid multiple screen capturing operations on the content selected by the user, and can splice the captured multiple contents again through the application program of image processing. Therefore, the operation process of obtaining a plurality of discontinuous contents in the document is simplified, the time of a user is saved, and the use experience of the user is improved.
As shown in fig. 1, an embodiment of the present application provides a document processing method, which may include steps 101 to 104 described below.
Step 101, in a case of displaying a first document, an electronic device receives a first input of M contents in the first document.
It should be noted that, in this embodiment of the application, the electronic device may be an electronic device including at least one screen, specifically, the electronic device may be a single-screen electronic device including a first screen, the electronic device may also be a double-screen electronic device including a first screen and a second screen, and the electronic device may also be a multi-screen electronic device including at least a plurality of screens, such as the first screen and the second screen. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited. The following embodiments exemplify an electronic device as an example of an electronic device including a first screen and a second screen.
Optionally, in this embodiment of the application, the electronic device may display the first document on the first screen.
Optionally, in an embodiment of the present application, the first document includes: a long document of at least one item of content, text, picture, audio or video. For example, the first document may be an article, the first document may also be a long microblog, the first document may be a pushed travel strategy, and the like. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
Optionally, in this embodiment of the application, the first input is used to determine M contents in the first document and trigger the electronic device to display M first identifiers. Specifically, the first input may be a touch input to a screen (e.g., a first screen) of the electronic device, and the touch input may be any one of the following: click, double click, long press, drag according to a preset trajectory, and the like. The first input may also be a voice input to the electronic device, where the content of the voice input is used to trigger the electronic device to determine M contents and display M first identifiers corresponding to the M contents. Under the condition that the electronic equipment comprises the first screen and the second screen, the first input can also be used for folding input of the first screen and the second screen, namely the first input is used for folding and changing an angle value between the first screen and the second screen, and then the electronic equipment is triggered to display M first marks when the angle value reaches a preset angle threshold value. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
Optionally, in this embodiment of the application, each of the M contents may be any one of the following: text, pictures, audio, video, etc.
Step 102, the electronic device responds to the first input and displays M first identifiers.
Wherein, each of the first identifiers is used for indicating one of the M contents.
Optionally, in this embodiment of the application, the electronic device determines M pieces of content in response to the first input, and displays M first identifiers corresponding to the M pieces of content. The mode of determining M contents by the electronic device may be to determine one content according to the position of each first input sub-input, and repeat the operation M times to determine M contents. Specifically, reference may be made to the following detailed description in step 101c and step 102a, which will not be repeated herein.
It should be noted that, in the present application, the display form and size of the first identifier are not specifically limited, and may be determined according to actual use requirements.
Optionally, in this embodiment of the application, the electronic device may display the M first identifiers on the first screen.
Step 103, the electronic device receives a second input for N first identifiers of the M first identifiers.
Optionally, in this embodiment of the application, the second input is used to trigger the electronic device to select N first identifiers from the M first identifiers, and merge N contents corresponding to the N first identifiers.
Optionally, in this embodiment of the application, the second input may be a voice input to the electronic device, where the content of the voice input is used to instruct the electronic device to select N first identifiers from the M first identifiers. The second input may also be a touch input to N first identifiers of the M first identifiers, where the touch input is used to select the N first identifiers, and the touch input may be any of the following: single click, double click, long press, sliding according to a preset trajectory, etc. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
And step 104, the electronic equipment responds to the second input, and controls and combines the N contents to obtain the target document.
Wherein, the N contents are the contents indicated by the N first identifiers; m and N are positive integers, and M is greater than or equal to N.
Optionally, in this embodiment of the application, the electronic device may combine the N contents according to a selection order of the N contents or a creation time order of the N first identifiers corresponding to the N contents, so as to obtain the target document.
Optionally, in this embodiment of the application, the specific manner for combining the N contents may be any of the following: mode 1, when the content is a text content, copying the text content to a target document; mode 2, when the content is the picture content, copying the picture content to the target document; mode 3, when the content is audio or video content, copying the website of the audio or video to a target document; or downloading the video or audio content to the electronic equipment, and copying the storage path of the video or audio content in the electronic equipment to the target document. That is, when the user clicks the website or local storage path of the video, the electronic device may load and play the video content. The specific combination mode may be determined according to actual use requirements, and the embodiment of the present application is not particularly limited. It should be noted that, in the process of merging N contents, the merging manners in the above steps 1 to 3 may be used simultaneously to obtain the target document.
Illustratively, fig. 2 is one of operation diagrams of the electronic device obtaining the target document. As shown in fig. 2 (a), the electronic device 00 includes a first screen 001 and a second screen 002, in which: content 003, chart 004, content 005, and picture 006. The user may click-select content 003, chart 004, and content 005 in sequence, and the electronic device displays three first indicia in the first screen 001 in response to the click input (i.e., the first input), respectively: a first identity a (for indicating content 003), a first identity B (for indicating diagram 004), and a first identity C (for indicating content 005). Then, as shown in fig. 2 (b), the user may double-click the input of selecting the first logo a and the first logo C, and the electronic device merges the content 003 indicated by the first logo a and the content 005 indicated by the first logo C in response to the double-click selection input, and displays the merged content 007 (i.e., the target content) in the second screen 002
The embodiment of the application provides a document processing method, which comprises the steps of receiving a first input of a user to M contents in a first document under the condition that the electronic equipment displays the first document; and in response to the first input, displaying M first identifiers (each indicating one of the M contents); receiving second input of N first identifications in the M first identifications; and responding to the second input, and controlling the N contents indicated by the N first identifiers to be merged to obtain the target document. Wherein M and N are positive integers, and M is greater than or equal to N. By the method, the user can trigger the electronic equipment to merge the content corresponding to the first identifier selected by the user in one application program only by the operation of selecting the first identifier so as to obtain the target document. Compared with the related technology, the method can avoid multiple screen capturing operations on the content selected by the user, and can splice the captured multiple contents again through the application program of image processing. Therefore, the operation process of obtaining a plurality of discontinuous contents in the document is simplified, the time of a user is saved, and the use experience of the user is improved.
Optionally, with reference to fig. 1, as shown in fig. 3, the first document and the M first identifiers are displayed on a first screen of the electronic device, and the electronic device further includes a second screen; the first input includes a first sub-input and M second sub-inputs. The step 101 may be implemented by the following steps 101a to 101c, and the step 102 may be implemented by the following steps 102a and 102 b.
Step 101a, the electronic device receives a first sub-input under the condition that the first screen displays the first document.
It should be noted that the following embodiments are exemplified by taking the electronic device as a folding screen electronic device including a first screen and a second screen.
Optionally, in this embodiment of the application, the first sub-input is used to trigger the electronic device to display a content selection control. Specifically, in the case that the electronic device includes a first screen and a second screen, the first sub-input may be a touch input to the first screen or the second screen, and the touch input may specifically refer to the specific description in step 101. The first sub-input may also be a folding input to the first screen and the second screen, that is, the first sub-input is an input that changes an angle value between the first screen and the second screen, and triggers the electronic device to display the content selection control on a condition that the angle value is greater than or equal to a first angle threshold.
And step 101b, the electronic equipment responds to the first sub-input and displays a content selection control on the first screen.
Optionally, the display form of the content selection control is not specifically limited in the embodiment of the present application, and may be determined according to actual use requirements. For example, the content selection control may display a selection indicator (e.g., a selection box) that the user may drag to select content from the first document. As another example, the content selection control can be a curve (e.g., content selection control 008 of FIG. 4) from an upper edge of a first screen of the electronic device to a line edge that a user can drag to select content from the first document.
And 101c, the electronic equipment receives the ith second sub-input of the content selection control.
Wherein, the value of the i is 1, 2, … and M in sequence.
Optionally, in this embodiment of the application, the second sub-input may be a touch input to the content selection control, or a touch input of a selection identifier in the content selection control. The touch input may be any one of the following: a single click in the first document, a double click in the first document, a drag in the first document, a movement in the first document in a preset manner, etc. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
For example, if the content selection control can display a selection identifier (e.g., a selection box), the user can drag the selection identifier to the target location (i.e., the second sub-input), and the electronic device can determine the content of the target location as the content selected by the content selection control in response to the drag input.
For example, if the content selection control is a curved control from the top edge of the first screen of the electronic device to the line edge (e.g., content selection control 008 in fig. 4), the user may drag the curve (i.e., content selection control) to select content. Specifically, the manner of dragging the curve (i.e., the content selection control) to select content may be any of the following: in the mode a, the electronic device determines coordinates of a vertex position of the curve according to the curve, and determines the content in the area where the vertex coordinates are located as the content selected by the content selection control. And B, the electronic equipment determines the content in the area with the largest coverage area as the content selected by the content selection control according to the area of the coverage area of the curve.
Step 102a, in response to the ith second sub-input, the electronic device determines an ith target area according to the input position of the ith second sub-input in the first document, and determines the content in the ith target area as the ith content.
It should be noted that, in this embodiment of the application, the electronic device determines the ith first target area through the ith second sub-input, and when the value of i is sequentially 1, 2, …, and M, the electronic device may sequentially determine M pieces of content.
Optionally, in this embodiment of the application, a specific manner of determining the ith target area from the input position of the ith second sub-input in the first document may refer to the related description in the step 101c, which is not described herein again.
And 102b, the electronic equipment displays the ith first identifier on the first screen and displays the ith content on the second screen.
Optionally, in this embodiment of the application, when the electronic device determines the ith content, the electronic device may display the ith first identifier on the first screen, where the ith first identifier is used to indicate the ith content.
Specifically, when i is equal to 1, the electronic device determines the 1 st content, displays the 1 st first identifier (the 1 st first identifier is used for indicating the 1 st content) on the first screen, and displays details of the 1 st content on the second screen. When i is 2, the electronic device determines the 2 nd content, displays the 2 nd first identifier on the first screen (the 2 nd first identifier is used for indicating the 2 nd content), and displays details of the 2 nd content on the second screen. In this way, in a reciprocating cycle, when i is equal to M, the electronic device determines the mth content, displays the mth first identifier (which is used for indicating the mth content) on the first screen, and displays details of the mth content on the second screen. At this time, the first screen of the electronic device displays M first marks (i.e., from the 1 st first mark to the mth first mark).
Optionally, in this embodiment of the application, the first identifier may be displayed on the content selection control. Specifically, if the content selection control is a curved control displayed in the first document along the preset direction, the first identifier may be an identifier on the curved control. Such as a dot identifier displayed on the curvilinear control.
For example, fig. 4 is an operation diagram of the electronic device displaying a content selection control. As shown in (a) in fig. 4, the electronic device 00 includes a first screen 001 and a second screen 002, in which: content 003, chart 004, content 005, and picture 006. The user may fold the first screen in the direction of F1, as shown in (b) of fig. 4, the electronic device displays the curved content selection control 008 in response to the folding input (i.e., the first sub-input), and then the user may drag the curved content selection control to the content 003 position (the coordinate of the highest point of the curve is located at the content 003 position), and the electronic device displays the first logo a on the content selection control 008 in the first screen 001 and displays the content 003 in the second screen 002 in response to the dragging input (i.e., the ith second sub-input).
It can be understood that, in the case that the electronic device includes the first screen and the second screen, the electronic device may be triggered to display the content selection control through the first sub-input, and then select the ith content through the ith second sub-input to the content selection control, and display the ith first identifier corresponding to the ith content. Similarly, the electronic device may display M first identifiers corresponding to the M first contents on the first screen by performing M operations. Therefore, the user can conveniently and manually determine the contents through the content selection identification, and further, the user can conveniently operate the first identification corresponding to part or all of the contents so as to synthesize the target contents required by the user.
Optionally, with reference to fig. 1, as shown in fig. 5, M is equal to N, the first document and the M first identifiers are displayed on a first screen of the electronic device, and the electronic device further includes a second screen. Before the step 103, the document processing method provided in the embodiment of the present application further includes the following steps 105 and 106, and accordingly, the step 104 may be specifically realized by the following step 104 a.
Step 105, the electronic device receives a third input of S first identifiers of the M first identifiers of the first screen.
Wherein S is an integer of 2 or more and M or less.
In this embodiment, the third input is used to trigger the electronic device to select S first identifiers from M first identifiers. For a specific input manner of the third input, reference may be made to the related description about the second input in step 103, which is not described herein again.
And 106, the electronic equipment responds to the third input, updates and displays the S first identifications displayed on the first screen as second identifications, and displays the first content on the second screen.
The first content is obtained by combining S contents indicated by the S first identifiers, and the second identifier indicates the first content.
Optionally, in this embodiment of the application, in response to the third input, the electronic device merges and displays S pieces of content corresponding to the S first identifiers on the second screen (that is, the second screen displays the first content), and updates and displays the S pieces of first identifiers displayed on the first screen as a second identifier (that is, merges and displays the S pieces of first identifiers as a second identifier, where an essence of the merging and displaying the S pieces of content corresponding to the S pieces of first identifiers as the first content, and displays the second identifier on the first screen to indicate the first content, and cancels display of the S pieces of first identifiers).
It should be noted that, in this embodiment of the application, the second identifier is used to indicate a content obtained by merging S contents indicated by the S first identifiers, that is, the first content.
Optionally, in the embodiment of the present application, a display manner of the second identifier is not specifically limited, and may be determined according to an actual use requirement. It should be noted that the second identifier is different from the first identifier.
Optionally, in this embodiment of the application, the display position of the second identifier may be a display position at which an earliest or a latest first identifier is created in the S first identifiers.
Optionally, in this embodiment of the application, when the electronic device merges S pieces of content to obtain the first content, the user may trigger the electronic device to output the first content through the first target input. For example, the first content is stored, etc. The first target input may be a touch input when the user displays the first content on the second screen.
And 104a, the electronic equipment responds to the second input and controls to combine the first content and the second content to obtain the target document.
The second content is the content except the S content in the M content.
In this embodiment, the first content is obtained by merging S contents indicated by the S first identifiers. The second content is the content of the M contents except the S contents, that is, the content of the M contents that is not merged into the first content.
In addition, in the embodiment of the present application, the manner of combining the first content and the second content may refer to the specific combining manner in the step 104, which is not described herein again.
Fig. 6 is a second schematic view illustrating the operation of obtaining the target content by the electronic device. As shown in fig. 2 (a), the electronic device 00 includes a first screen 001 and a second screen 002, wherein: content 003, chart 004, content 005, and picture 006; and a first mark a indicating content 003, a first mark B indicating a chart 004, and a first mark C indicating content 005. The user may long press and select the first logo a and the first logo B, as shown in fig. 6 (a), the electronic device updates the first logo a and the first logo B to the position where the second logo K is displayed at the original first logo a, and displays the first logo a indicating content 003 and the first logo B indicating content 009 (i.e., the first content) after the chart 004 is merged in the second screen 002. Subsequently, as shown in (b) of fig. 6, the user may double-click the input of the second identifier K and the first identifier C, and in response to the double-click selection input (i.e., the second input), the electronic device merges the content 009 (i.e., the first content) indicated by the second identifier K and the content 005 (i.e., the second content) indicated by the first identifier C, and displays the merged content 010 (i.e., the target content) in the second screen 002.
It can be understood that, the user may trigger the electronic device to merge the contents corresponding to the S first identifiers selected by the user to obtain the first contents by performing a third input on the S first identifiers of the M first identifiers displayed on the first screen of the electronic device, and update the S first identifiers to the second identifiers. Then, the user may trigger the electronic device to merge the first content and the contents (i.e., the second content) of the M contents except the S contents through the second input, so as to obtain the target document. Therefore, a user can merge part of contents in the first document according to actual use requirements, and then merge the merged contents (namely, the first contents) and the second contents again to obtain a target document, so that the use of the user is facilitated, and the flexibility of merging the documents by the user is improved.
Optionally, with reference to fig. 5, as shown in fig. 7, after "displaying the first content on the second screen" in step 106, the document processing method provided in the embodiment of the present application may further include the following steps 107 to 109, and accordingly, step 104a may be specifically implemented by step 104a 1.
And step 107, the electronic equipment displays prompt information on a second screen.
The prompt information is used for prompting a user to edit the first content.
Optionally, in this embodiment of the application, the prompt information is used to prompt a user to perform an editing operation on the first content displayed on the second screen. Specifically, the editing operation may include at least one of: inputting characters in the first content; adjusting the typesetting format of the first content; deleting part of the first content, and adding pictures, audio links or video links and the like in the first content.
It should be noted that, in this embodiment of the application, for each first identifier displayed in the first screen, the user may perform a second target input on one first identifier, and the electronic device may display, in response to the second target input, content indicated by the first identifier in the second screen. Namely, the user can trigger the electronic device to preview and display the content indicated by any first identifier on the second screen through inputting any first identifier on the first screen, so that the user can conveniently view and edit the content indicated by the first identifiers. The second target input is a touch input to a first identifier, and the specific form of the touch input may refer to the specific description of the first target input in the above steps.
In addition, in this embodiment of the application, in the case that the second screen displays content (content indicated by the first identifier, or content indicated by the second identifier), the electronic device may display a prompt message to prompt the user to perform an editing operation on the content. Illustratively, the editing operation may be performed by the fourth input in step 108 described below.
Step 108, the electronic device receives a fourth input.
And the fourth input is the editing input of the first content on the second screen.
Optionally, in this embodiment of the application, the fourth input may specifically be at least one of the following: inputting characters in the first content; adjusting the typesetting format of the first content; deleting part of the first content, and adding pictures, audio links or video links and the like in the first content. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
And step 109, the electronic equipment responds to the fourth input and displays the third content on the second screen.
Wherein, the third content is the edited first content.
In the embodiment of the present application, the third content is the first content after the editing operation of the fourth input is received.
Optionally, the embodiment of the present application may highlight the third content (i.e., the edited first content) on the second screen. Specifically, the highlighting manner may include any one of the following: the third content is displayed in bold, underlined, in different background colors, etc. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
And step 104a1, the electronic device responds to the second input and controls to combine the third content and the second content to obtain the target document.
It should be noted that, in the embodiment of the present application, the specific manner in step 104 and step 104a may be referred to for the manner of combining the third content and the second content, and details are not described here.
It is understood that after the electronic device merges the first content, a prompt message may be displayed on the second screen, and the user may edit the first content through a fourth input to the second screen according to the prompt message to obtain a third content, and then the electronic device may merge the third content (i.e., the edited first content) and the second content to obtain the target document. Therefore, the user can flexibly edit the first content according to the actual use requirement, and the edited first content and the edited second content can be recombined into the target document, so that the user can use the target document conveniently.
Optionally, with reference to fig. 1, as shown in fig. 8, after the step 103, the document processing method provided in the embodiment of the present application further includes the following step 110 and step 111, and accordingly, the step 104 may be specifically implemented by the following step 104 b.
Step 110, the electronic device receives a fifth input of the M first identifiers.
Optionally, in this embodiment of the application, the fifth input is an input for adjusting a display order of the M first identifiers. Specifically, the fifth input may be a touch input to some or all of the M first identifiers, and the touch input may be a touch input dragging some of the first identifiers to change their display positions and display orders; the touch input may also be arranged in a display order of the M first identifiers. The method can be determined according to actual use requirements, and the embodiment of the application is not particularly limited.
And step 111, the electronic device responds to a fifth input, and the M first identifications are adjusted from the first display order to the second display order.
Wherein, the first display sequence is determined according to the creation time of the M first marks.
In this embodiment, the first display order is an order determined according to the creation time of the M first marks. Specifically, the first display order may be an order of the creation time, which is arranged by M first identifiers, or a reverse order of the creation time, which is arranged by M first identifiers. The second display order is a display order for displaying the M first identifications after the electronic equipment receives the fifth input adjustment.
And 104b, the electronic equipment responds to the second input, and merges the N contents indicated by the N first identifiers according to the second display sequence to obtain the target document.
It should be noted that, in this embodiment of the application, according to the second display order, the specific manner in the step 104a may be referred to for a manner of merging the N contents, and details are not described here again.
Exemplarily, fig. 9 is a third operation diagram of the electronic device obtaining the target document. As shown in fig. 2 (a), the electronic device 00 includes a first screen 001 and a second screen 002, wherein: content 003, chart 004, content 005, and picture 006; and a first mark a indicating content 003, a first mark B indicating a graph 004, and a first mark C indicating content 005, and in accordance with: the first logo a, the first logo B, and the first logo C are sequentially displayed (i.e., a first display order). Then, the user may drag the first identifier a and the first identifier C to adjust the display order thereof, as shown in fig. 9, according to: the sequential display (i.e., the second display order) of the first logo C, the first logo B, and the first logo a. Subsequently, the user can double-click the input of selecting the first logo C and the first logo a, and the electronic device merges the content 005 indicated by the first logo C and the content 003 indicated by the first logo a in the adjusted order in response to the double-click selection input, and displays the merged content 011 (i.e., the target content) in the second screen 002.
It can be understood that, by performing a fifth input on the M first identifiers, the user may adjust the display order of the M first identifiers from the first order to the second display order, and when the electronic device merges the N first identifiers, merge the N contents corresponding to the N first identifiers according to the adjusted second display order, so as to obtain the target document. Therefore, the user can adjust the display sequence of the first identifications according to the use requirement, further adjust the merging sequence of the N contents corresponding to the N first identifications, and merge according to the sequence required by the user to obtain the target document.
It should be noted that, in the document processing method provided in the embodiment of the present application, the execution main body may be a document processing apparatus, or a control module in the document processing apparatus for executing the document processing method. The embodiment of the present application takes a document processing apparatus executing a document processing method as an example, and describes an apparatus provided in the embodiment of the present application.
As shown in fig. 10, an embodiment of the present application provides a document processing apparatus 1000. The document processing device 1000 may include a display module 1001, a receiving module 1002, and a processing module 1003. The receiving module 1002 may be configured to receive a first input of M contents in a first document when the display module 1001 displays the first document. The display module 1001 may be configured to display M first identifiers, each first identifier indicating one of the M contents, in response to the first input received by the receiving module 1002. The receiving module 1002 may be further configured to receive a second input for N first identifiers of the M first identifiers. The processing module 1003 may be configured to, in response to the second input received by the receiving module 1002, control to combine N pieces of content to obtain a target document, where the N pieces of content are content indicated by the N first identifiers. Wherein M and N are positive integers, and M is greater than or equal to N.
Optionally, in this embodiment of the application, the first document and the M first identifiers are displayed on a first screen of the electronic device, and the electronic device further includes a second screen; the first input includes a first sub-input and M second sub-inputs. The receiving module 1002 may be specifically configured to receive a first sub-input when the first screen displays the first document. The display module 1001 may be specifically configured to display a content selection control on the first screen in response to the first sub-input received by the receiving module 1002. The receiving module 1002 may further be specifically configured to receive an ith second sub-input to the content selection control, where i takes values 1, 2, …, and M in sequence. The processing module 1003, in particular, may be configured to determine, in response to the ith second sub-input received by the receiving module 1002, an ith target area according to an input position of the ith second sub-input in the first document, and determine content in the ith target area as the ith content. The display module 1002 may be further specifically configured to display the ith first identifier on the first screen, and display the ith content on the second screen.
Optionally, in this embodiment of the present application, M ═ N; the first document and the M first marks are displayed on a first screen of the electronic equipment, and the electronic equipment further comprises a second screen. The receiving module 1002 may be further configured to receive a third input for S first identifiers of the M first identifiers of the first screen, where S is an integer greater than or equal to 2 and less than or equal to M. The display module 1001 may be further configured to update and display the S first identifiers displayed on the first screen as second identifiers in response to the third input received by the receiving module 1002, and display first content on the second screen, where the first content is obtained by merging the S content indicated by the S first identifiers, and the second identifier indicates the first content. The processing module 1003 may be specifically configured to control to combine the first content and the second content to obtain the target document, where the second content is a content of the M contents except the S contents.
Optionally, in this embodiment of the application, the display module 1001 may be further configured to display a prompt message on the second screen after the first content is displayed on the second screen, where the prompt message is used to prompt a user to perform an editing operation on the first content. The receiving module 1002 may be further configured to receive a fourth input, where the fourth input is an editing input for the first content on the second screen. The display module 1001 may be further configured to display third content on the second screen in response to the fourth input received by the receiving module 1002, where the third content is the edited first content. The processing module 1003 may be specifically configured to control to combine the third content and the second content to obtain the target document.
Optionally, in this embodiment of the application, the receiving module 1002 may be further configured to receive a fifth input for the M first identifiers. The display module 1001 may be further configured to adjust, in response to the fifth input, the M first identifiers from a first display order to a second display order, where the first display order is determined according to creation times of the M first identifiers. The processing module 1003 may be specifically configured to merge the N contents indicated by the N first identifiers according to the second display order, so as to obtain a target document.
The document processing apparatus in the embodiment of the present application may be a functional entity and/or a functional module in an electronic device, which executes a document processing method, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The document processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The document processing apparatus provided in the embodiment of the present application can implement each process implemented by the document processing apparatus in the method embodiments of fig. 1 to fig. 9, and is not described here again to avoid repetition.
The embodiment of the application provides a document processing device, which receives a first input of M contents in a first document from a user under the condition that the document processing device displays the first document; and in response to the first input, displaying M first identifiers (each indicating one of the M contents); receiving second input of N first identifications in the M first identifications; and responding to the second input, and controlling the N contents indicated by the N first identifiers to be merged to obtain the target document. Wherein M and N are positive integers, and M is greater than or equal to N. By the method, a user can trigger the document processing device to merge the content corresponding to the first identifier selected by the user in one application program only by the operation of selecting the first identifier so as to obtain the target document. Compared with the related technology, the method can avoid multiple screen capturing operations on the content selected by the user, and can splice the captured multiple contents again through the application program of image processing. Therefore, the operation process of obtaining a plurality of discontinuous contents in the document is simplified, the time of a user is saved, and the use experience of the user is improved.
Optionally, as shown in fig. 11, an electronic device 1100 is further provided in an embodiment of the present application, and includes a processor 1101, a memory 1102, and a program or an instruction stored in the memory 1102 and executable on the processor 1101, where the program or the instruction is executed by the processor 1101 to implement each process of the foregoing document processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 2000 includes, but is not limited to: a radio frequency unit 2001, a network module 2002, an audio output unit 2003, an input unit 2004, a sensor 2005, a display unit 2006, a user input unit 2007, an interface unit 2008, a memory 2009, and a processor 2010.
Among other things, the input unit 2004 may include a graphic processor 20041 and a microphone 20042, the display unit 2006 may include a display panel 20061, the user input unit 2007 may include a touch panel 20071 and other input devices 20072, and the memory 2009 may be used to store software programs (e.g., an operating system, an application program required for at least one function), and various data.
Those skilled in the art will appreciate that the electronic device 2000 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 2010 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 2007 may be configured to receive a first input of M contents in the first document when the display unit 2006 displays the first document. A display unit 2006 operable to display M first identifiers each indicating one of the M contents in response to the first input received by the user input unit 2007. The user input unit 2007 may be further configured to receive a second input for N first identifiers of the M first identifiers. The processor 2010 may be configured to control, in response to the second input received by the user input unit 2007, to merge N contents, which are the contents indicated by the N first identifiers, to obtain the target document. Wherein M and N are positive integers, and M is greater than or equal to N.
The embodiment of the application provides electronic equipment, which receives a first input of a user to M contents in a first document under the condition that the electronic equipment displays the first document; and in response to the first input, displaying M first identifiers (each indicating one of the M contents); receiving second input of N first identifications in the M first identifications; and responding to the second input, and controlling the N contents indicated by the N first identifiers to be merged to obtain the target document. Wherein M and N are positive integers, and M is greater than or equal to N. By the method, the user can trigger the electronic equipment to merge the content corresponding to the first identifier selected by the user in one application program only by the operation of selecting the first identifier so as to obtain the target document. Compared with the related technology, the method can avoid multiple screen capturing operations on the content selected by the user, and can splice the captured multiple contents again through the application program of image processing. Therefore, the operation process of obtaining a plurality of discontinuous contents in the document is simplified, the time of a user is saved, and the use experience of the user is improved.
Optionally, in this embodiment of the application, the first document and the M first identifiers are displayed on a first screen of the electronic device, and the electronic device further includes a second screen; the first input includes a first sub-input and M second sub-inputs. The user input unit 2007 may be specifically configured to receive a first sub-input in a case where the first document is displayed on the first screen. The display unit 2006 is specifically configured to display a content selection control on the first screen in response to the first sub-input received by the user input unit 2007. The user input unit 2007 may be further specifically configured to receive an ith second sub-input to the content selection control, where i takes values 1, 2, …, and M in sequence. The processor 2010, in particular, may be configured to determine, in response to the ith second sub-input received by the user input unit 2007, an ith target area according to an input position of the ith second sub-input in the first document, and determine content in the ith target area as the ith content. The display unit 2006 is further specifically configured to display an ith first identifier on the first screen, and display the ith content on the second screen.
It can be understood that, in the case that the electronic device includes the first screen and the second screen, the electronic device may be triggered to display the content selection control through the first sub-input, and then select the ith content through the ith second sub-input to the content selection control, and display the ith first identifier corresponding to the ith content. Similarly, the electronic device may display M first identifiers corresponding to the M first contents on the first screen by performing M operations. Therefore, the user can conveniently and manually determine the contents through the content selection identification, and further, the user can conveniently operate the first identification corresponding to part or all of the contents so as to synthesize the target contents required by the user.
Optionally, in this embodiment of the present application, M ═ N; the first document and the M first marks are displayed on a first screen of the electronic equipment, and the electronic equipment further comprises a second screen. The user input unit 2007 may be further configured to receive a third input to S first identifiers of the M first identifiers of the first screen, where S is an integer greater than or equal to 2 and less than or equal to M. The display unit 2006, in response to the third input received by the user input unit 2007, may be further configured to update and display the S first identifiers displayed on the first screen to be second identifiers, and display first content on the second screen, where the first content is obtained by merging the S contents indicated by the S first identifiers, and the second identifiers indicate the first content. The processor 2010 may be specifically configured to control to combine the first content and the second content to obtain the target document, where the second content is a content of the M contents except the S contents.
It can be understood that, the user may trigger the electronic device to merge the contents corresponding to the S first identifiers selected by the user to obtain the first contents by performing a third input on the S first identifiers of the M first identifiers displayed on the first screen of the electronic device, and update the S first identifiers to the second identifiers. Then, the user may trigger the electronic device to merge the first content and the contents (i.e., the second content) of the M contents except the S contents through the second input, so as to obtain the target document. Therefore, a user can combine part of contents in the first document according to actual use requirements, and then combine the combined contents (namely the first contents) and the second contents again to obtain a target document, so that the use of the user is facilitated, and the flexibility of combining the documents by the user is improved.
Optionally, in this embodiment of the application, the display unit 2006 may be further configured to display prompt information on the second screen after the first content is displayed on the second screen, where the prompt information is used to prompt a user to perform an editing operation on the first content. The user input unit 2007 may be further configured to receive a fourth input, which is an editing input of the first content on the second screen. The display unit 2006, may be further configured to display third content on the second screen in response to the fourth input received by the user input unit 2007, where the third content is the edited first content. The processor 2010 may be specifically configured to control merging of the third content and the second content to obtain the target document.
It is understood that after the electronic device merges the first content, a prompt message may be displayed on the second screen, and the user may edit the first content through a fourth input to the second screen according to the prompt message to obtain a third content, and then the electronic device may merge the third content (i.e., the edited first content) and the second content to obtain the target document. Therefore, the user can flexibly edit the first content according to the actual use requirement, and the edited first content and the edited second content can be recombined into the target document, so that the user can use the target document conveniently.
Optionally, in this embodiment of the application, the user input unit 2007 may be further configured to receive a fifth input for the M first identifiers. The display unit 2006 is further configured to adjust, in response to the fifth input, the M first identifiers from a first display order to a second display order, the first display order being determined according to creation times of the M first identifiers. The processor 2010 may be specifically configured to merge the N contents indicated by the N first identifiers according to the second display order, so as to obtain a target document.
It can be understood that, by performing a fifth input on the M first identifiers, the user may adjust the display order of the M first identifiers from the first order to the second display order, and when the electronic device merges the N first identifiers, merge the N contents corresponding to the N first identifiers according to the adjusted second display order, so as to obtain the target document. Therefore, the user can adjust the display sequence of the first identifications according to the use requirement, further adjust the merging sequence of the N contents corresponding to the N first identifications, and merge according to the sequence required by the user to obtain the target document.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned document processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing document processing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method of document processing, the method comprising:
receiving a first input of M contents in a first document under the condition that the first screen of the electronic equipment displays the first document;
in response to the first input, displaying M first identifiers on the first screen, wherein each first identifier is used for indicating one content in the M contents;
receiving second input of N first identifications in the M first identifications;
responding to the second input, controlling and combining N contents to obtain a target document, and displaying the target document on a second screen of the electronic equipment, wherein the target document can be edited on the second screen, and the N contents are the contents indicated by the N first identifiers;
wherein M and N are positive integers, and M is greater than or equal to N.
2. The method of claim 1, wherein the first input comprises a first sub-input and M second sub-inputs;
receiving a first input of M contents in a first document in a case where the first document is displayed, including:
receiving a first sub-input in a case that the first screen displays the first document;
displaying a content selection control on the first screen in response to the first sub-input;
receiving the ith second sub-input of the content selection control, wherein i sequentially takes values of 1, 2, … and M;
the displaying, in response to the first input, M first identifiers includes:
in response to the ith second sub-input, determining an ith target area according to the input position of the ith second sub-input in the first document, and determining the content in the ith target area as ith content;
and displaying the ith first identifier on the first screen, and displaying the ith content on the second screen.
3. The method of claim 1, wherein M ═ N; before the receiving of the second input for N of the M first identifiers, the method further includes:
receiving a third input to S first identifiers of the M first identifiers of the first screen, wherein S is an integer greater than or equal to 2 and less than or equal to M;
responding to the third input, merging and displaying the S first identifications displayed on the first screen into second identifications, and displaying first content on the second screen, wherein the first content is obtained by merging the S contents indicated by the S first identifications, and the second identifications indicate the first content;
the controlling and combining the N contents to obtain the target document comprises the following steps:
and controlling to combine the first content and the second content to obtain the target document, wherein the second content is the content of the M contents except the S contents.
4. The method of claim 3, wherein after the second screen displays the first content, the method further comprises:
displaying prompt information on the second screen, wherein the prompt information is used for prompting a user to edit the first content;
receiving a fourth input, wherein the fourth input is an editing input of the first content on the second screen;
responding to the fourth input, and displaying third content on the second screen, wherein the third content is the edited first content;
the controlling and combining the first content and the second content to obtain the target document comprises:
and controlling to combine the third content and the second content to obtain the target document.
5. The method of claim 1, wherein after receiving the second input for the N of the M first identifiers, the method further comprises:
receiving a fifth input to the M first identifiers;
in response to the fifth input, adjusting the M first marks from a first display order to a second display order, wherein the first display order is determined according to the creation time of the M first marks;
the controlling and combining the N contents to obtain the target document comprises the following steps:
and merging the N contents indicated by the N first identifiers according to the second display sequence to obtain the target document.
6. A document processing apparatus, characterized in that the apparatus comprises: the device comprises a display module, a receiving module and a processing module;
the receiving module is used for receiving a first input of M contents in a first document under the condition that the display module displays the first document on a first screen of the electronic equipment;
the display module is used for responding to the first input received by the receiving module, and displaying M first identifications on the first screen, wherein each first identification is used for indicating one content in the M contents;
the receiving module is further configured to receive a second input to N first identifiers of the M first identifiers;
the processing module is configured to control, in response to the second input received by the receiving module, to merge N pieces of content to obtain a target document, and display the target document on a second screen of the electronic device, where the target document is editable on the second screen, and the N pieces of content are content indicated by the N first identifiers;
wherein M and N are positive integers, and M is greater than or equal to N.
7. The apparatus of claim 6, wherein the first input comprises a first sub-input and M second sub-inputs;
the receiving module is specifically configured to receive a first sub-input when the first screen displays the first document;
the display module is specifically configured to display a content selection control on the first screen in response to the first sub-input received by the receiving module;
the receiving module is further specifically configured to receive an ith second sub-input to the content selection control, where i takes values 1, 2, …, and M in sequence;
the processing module is specifically configured to determine, in response to the ith second sub-input received by the receiving module, an ith target area according to an input position of the ith second sub-input in the first document, and determine content in the ith target area as ith content;
the display module is further specifically configured to display an ith first identifier on the first screen, and display the ith content on the second screen.
8. The apparatus of claim 6, wherein M-N; the receiving module is further configured to receive a third input to S first identifiers of the M first identifiers of the first screen, where S is an integer greater than or equal to 2 and less than or equal to M;
the display module is further configured to, in response to the third input received by the receiving module, merge and display the S first identifiers displayed on the first screen as second identifiers, and display first content on the second screen, where the first content is obtained by merging S contents indicated by the S first identifiers, and the second identifier indicates the first content;
the processing module is specifically configured to control merging of the first content and the second content to obtain the target document, where the second content is a content of the M contents except the S contents.
9. The apparatus according to claim 8, wherein the display module is further configured to display a prompt message on the second screen after the first content is displayed on the second screen, where the prompt message is used to prompt a user to perform an editing operation on the first content;
the receiving module is further configured to receive a fourth input, where the fourth input is an editing input of the first content on the second screen;
the display module is further configured to display third content on the second screen in response to the fourth input received by the receiving module, where the third content is the edited first content;
the processing module is specifically configured to control to combine the third content and the second content to obtain the target document.
10. The apparatus of claim 6, wherein the receiving module is further configured to receive a fifth input for the M first identifiers;
the display module is further configured to adjust, in response to the fifth input, a first display order of the M first identifiers to a second display order, where the first display order is determined according to creation times of the M first identifiers;
the processing module is specifically configured to merge the N contents indicated by the N first identifiers according to the second display order, so as to obtain the target document.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the document processing method of any one of claims 1 to 5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the document processing method according to any one of claims 1 to 5.
CN202011080551.5A 2020-10-10 2020-10-10 Document processing method and device and electronic equipment Active CN112269519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011080551.5A CN112269519B (en) 2020-10-10 2020-10-10 Document processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011080551.5A CN112269519B (en) 2020-10-10 2020-10-10 Document processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112269519A CN112269519A (en) 2021-01-26
CN112269519B true CN112269519B (en) 2022-04-12

Family

ID=74337066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011080551.5A Active CN112269519B (en) 2020-10-10 2020-10-10 Document processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112269519B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867607A (en) * 2021-09-30 2021-12-31 维沃移动通信有限公司 Content display method and device and electronic equipment
CN114690990B (en) * 2022-04-15 2024-03-29 北京百度网讯科技有限公司 Note generation method and device, equipment, medium and product
CN114816178A (en) * 2022-04-29 2022-07-29 咪咕数字传媒有限公司 Electronic book selection method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317949A (en) * 2014-11-06 2015-01-28 北京德塔普博软件有限公司 Extraction method, device and system of document fragments
CN106326476A (en) * 2016-08-31 2017-01-11 珠海市魅族科技有限公司 Information processing method and device
CN107729522A (en) * 2017-10-27 2018-02-23 优酷网络技术(北京)有限公司 Multimedia resource fragment intercept method and device
CN107967093A (en) * 2017-12-21 2018-04-27 维沃移动通信有限公司 A kind of multistage text clone method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9417758B2 (en) * 2006-11-21 2016-08-16 Daniel E. Tsai AD-HOC web content player

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317949A (en) * 2014-11-06 2015-01-28 北京德塔普博软件有限公司 Extraction method, device and system of document fragments
CN106326476A (en) * 2016-08-31 2017-01-11 珠海市魅族科技有限公司 Information processing method and device
CN107729522A (en) * 2017-10-27 2018-02-23 优酷网络技术(北京)有限公司 Multimedia resource fragment intercept method and device
CN107967093A (en) * 2017-12-21 2018-04-27 维沃移动通信有限公司 A kind of multistage text clone method and mobile terminal

Also Published As

Publication number Publication date
CN112269519A (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN112269519B (en) Document processing method and device and electronic equipment
CN112148174A (en) Application information display method and device and electronic equipment
CN112165553B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN114518820A (en) Icon sorting method and device and electronic equipment
CN111324398B (en) Method, device, terminal and storage medium for processing latest content
CN112449110B (en) Image processing method and device and electronic equipment
CN114518822A (en) Application icon management method and device and electronic equipment
JP2023529219A (en) Picture processing method, apparatus and electronic equipment
CN111638839A (en) Screen capturing method and device and electronic equipment
WO2023093809A1 (en) File editing processing method and apparatus, and electronic device
CN113360060B (en) Task realization method and device and electronic equipment
CN115454365A (en) Picture processing method and device, electronic equipment and medium
CN111796733B (en) Image display method, image display device and electronic equipment
CN112578959B (en) Content publishing method and device
CN114721565A (en) Application program starting method and device, electronic equipment and storage medium
CN114679546A (en) Display method and device, electronic equipment and readable storage medium
CN115344159A (en) File processing method and device, electronic equipment and readable storage medium
CN114564921A (en) Document editing method and device
CN111966259B (en) Screenshot method and device and electronic equipment
CN114845171A (en) Video editing method and device and electronic equipment
CN115016686A (en) File selection method and device, electronic equipment and readable storage medium
CN114302009A (en) Video processing method, video processing device, electronic equipment and medium
CN113805709A (en) Information input method and device
CN111638844A (en) Screen capturing method and device and electronic equipment
CN112764633A (en) Information processing method and device and electronic equipment

Legal Events

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