CN114356861B - Document generation and sending method, device and electronic device - Google Patents
Document generation and sending method, device and electronic device Download PDFInfo
- Publication number
- CN114356861B CN114356861B CN202210017833.3A CN202210017833A CN114356861B CN 114356861 B CN114356861 B CN 114356861B CN 202210017833 A CN202210017833 A CN 202210017833A CN 114356861 B CN114356861 B CN 114356861B
- Authority
- CN
- China
- Prior art keywords
- images
- input
- document
- image
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 107
- 230000004044 response Effects 0.000 claims abstract description 74
- 238000004891 communication Methods 0.000 claims abstract description 23
- 230000005540 biological transmission Effects 0.000 claims description 38
- 239000012634 fragment Substances 0.000 claims description 23
- 238000012163 sequencing technique Methods 0.000 claims 2
- 238000002716 delivery method Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 11
- 230000000694 effects Effects 0.000 description 4
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Landscapes
- Facsimiles In General (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a method and a device for generating and sending a document and electronic equipment, and belongs to the technical field of communication. The document sending method specifically comprises the steps of receiving first input of indication identifiers of first images, wherein the indication identifiers are used for indicating Q first documents, the first documents and the first images have association relations, the first documents comprise identification content of the first images, and sending target documents in the Q first documents to a second terminal in response to the first input, wherein Q is a positive integer.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for sending a document, a method and a device for generating the document and electronic equipment.
Background
With the continuous upgrading of the functions of the intelligent electronic device, a user can identify pictures through the intelligent electronic device to generate corresponding electronic documents.
However, when the number of pictures and the number of generated electronic documents are large, the correspondence between a large number of pictures and the electronic documents is easy to be confused, so that when a user needs to send the electronic documents to other terminals, the user needs to search for a target document from the large number of electronic documents to send, the operation of the user is increased, and the sending efficiency of the documents is reduced.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for generating and sending documents, electronic equipment and a readable storage medium, which can solve the problems that when sending electronic documents to other terminals, a large number of electronic documents need to be searched for target documents to send, the operation steps of users are increased, and the sending efficiency of the documents is reduced.
In a first aspect, an embodiment of the application provides a document sending method, which comprises the steps of receiving first input of indication marks of first images, wherein the indication marks are used for indicating Q first documents, the first documents have association relations with the first images, the first documents comprise identification content of the first images, and sending target documents in the Q first documents to a second terminal in response to the first input, and Q is a positive integer.
In a second aspect, an embodiment of the present application provides a document sending device, which includes a receiving unit configured to receive a first input of an indication identifier for indicating Q first documents, where the first documents have an association relationship with the first image, and the first documents include identification contents of the first image, and a sending unit configured to send, in response to the first input, a target document in the Q first documents to a second terminal, where Q is a positive integer.
In a third aspect, an embodiment of the present application provides a document generating method, including receiving a third input of a user selecting N first images from M images, displaying the N first images in a first display interface according to a first arrangement order in response to the third input, where the first arrangement order is determined by an order of identification codes in the N first images or an order of the N first images selected by the user, receiving a fourth input of generating a target document, processing the N first images in response to the fourth input, and generating the target document, where the target document has an association relationship with the first images, and the target document includes identification contents of the N first images, and M and N are both positive integers, and M is greater than or equal to N.
In a fourth aspect, an embodiment of the present application provides a document generating apparatus, which includes a receiving unit configured to receive a third input from a user to select N first images from M images, a processing unit configured to display the N first images in a first arrangement order in a first display interface in response to the third input, where the first arrangement order is determined by an order of identification codes in the N first images or an order of the N first images selected by the user, the receiving unit is further configured to receive a fourth input to generate a target document, and the processing unit is further configured to process the N first images and generate the target document in response to the fourth input, where the target document has an association with the first images, and the target document includes identification contents of the N first images, where M and N are both positive integers, and M is greater than or equal to N.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the document sending method according to the first aspect when executed by the processor, or the steps of the document generating method according to the third aspect when executed by the processor.
In a sixth aspect, an embodiment of the present application provides a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the document sending method according to the first aspect, or which when executed by the processor implement the steps of the document generating method according to the third aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, where the processor is configured to execute a program or instructions to implement a document sending method according to the first aspect, or where the processor is configured to execute a program or instructions to implement a document generating method according to the third aspect.
In an eighth aspect, an embodiment of the present application provides a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the document sending method as described in the first aspect, or the program product being executable by at least one processor to implement the document generating method as described in the third aspect.
In the embodiment of the application, a first input of an indication identifier of a first image is received, wherein the indication identifier is used for indicating Q first documents, Q is a positive integer, the first documents have an association relationship with the first image, the first documents comprise identification content of the first image, and the electronic equipment responds to the first input and sends target documents in the Q first documents to a second terminal. With the above document transmission method, when an electronic document (i.e., a first document) is transmitted, a target document among a plurality of first documents can be quickly transmitted to a target terminal (i.e., a second terminal) through a first input of an indication identifier of an image (i.e., a first image) having an association relationship with the electronic document. Therefore, when the number of the electronic documents is large, the user does not need to search one by one in a large number of the electronic documents, and only the target document can be quickly searched and then sent to the target terminal by inputting the indication mark of the image with the association relation with the electronic document, so that the searching time of the user is shortened, and the document sending efficiency is improved.
Drawings
FIG. 1 is a schematic flow chart of a document sending method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface of a document sending method according to an embodiment of the present application;
FIG. 3 is a block diagram showing a configuration of a document sending apparatus according to an embodiment of the present application;
FIG. 4 is a schematic flow chart of a document generating method according to an embodiment of the present application;
FIG. 5 is one of interface diagrams of a document generation method according to an embodiment of the present application;
FIG. 6 is a second interface diagram of a document generation method according to an embodiment of the present application;
FIG. 7 is a third interface diagram of a document generation method according to an embodiment of the present application;
FIG. 8 is a diagram showing an interface of a document generating method according to an embodiment of the present application;
FIG. 9 is a fifth interface diagram of a document generation method according to an embodiment of the present application;
FIG. 10 is a diagram showing an interface of a document generating method according to an embodiment of the present application;
FIG. 11 is a block diagram showing a configuration of a document generating apparatus according to an embodiment of the present application;
FIG. 12 is a schematic diagram of hardware of an electronic device according to an embodiment of the present application;
fig. 13 is a second hardware schematic of an electronic device according to an embodiment of the application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, 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 may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The execution main body of the technical scheme provided by the embodiment of the application can be a device for sending the document, and can be specifically determined according to actual use requirements, and the embodiment of the application is not limited. In order to describe the document transmission method provided by the embodiment of the present application more clearly, the following method embodiment will exemplarily describe the document transmission apparatus with the execution body of the document transmission method.
The document sending method provided by the embodiment of the application is described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a document sending method, which may include the following steps 102 and 104:
step 102, a first input of an indication identifier of a first image is received.
The first image may be an image displayed in a thumbnail form in the display interface, that is, the first image may be an image to be transmitted in the album interface, or the first image may be an image displayed in the first communication interface, that is, the first image may be an image that has been transmitted to the second terminal.
The indication mark and the first image have an association relationship, for example, the indication mark may be displayed after the user performs a touch operation on the first image, specifically may be displayed in a display interface for displaying the first image, such as an album interface, and may be displayed around the first image, or the indication mark may be displayed after the user sends the first image to the second terminal, specifically may be displayed in a first communication interface for sending the first image, and may be displayed around the first image.
Further, the indication identifier is used for indicating Q first documents, wherein Q is a positive integer, and the first documents have an association relationship with the first image. That is, the above indication mark is used to indicate that the first image has the first document associated therewith, and if the first image does not have the indication mark, it is explained that the first document associated with the first image is not stored in the document transmission apparatus.
Specifically, when the first document is generated, the association relationship between the first document and the first image may be established according to the storage address and the document name of the document, and the storage address and the image name of the first image of the first document.
Further, whether or not there is a first document having an association with the first image may be retrieved in the document transmission apparatus by the storage address of the first image and the image name. And displaying the indication identifier on the interface where the first image is based on the first document with the association. Specifically, the indication mark can be displayed around the first image in a floating manner, and the number of the first documents associated with the first image can be expressed by embedding numbers in the indication mark.
Further, the first document includes the identification content of the first image. Specifically, the first document may be a document whose content completely coincides with the first image, or may be a document containing the content of the first image (for example, the first image is an image of a certain page in a book, and the first document is a complete book document after all images of the whole book are identified).
Further, the first input is a touch input of the indication identifier of the first image by the user, and specifically, the first input may be a click input of the indication identifier. The document generating means transmits a target document among the Q first documents to the second terminal in response to the first input.
And step 104, responding to the first input, and transmitting target documents in the Q first documents to the second terminal.
Specifically, the document generating apparatus transmits a target document selected for transmission by the user from among the Q first documents to the second terminal in response to the first input, and displays the transmission result on the first communication interface.
In the above embodiment provided by the application, when the electronic document (i.e. the first document) is transmitted, the target document in the plurality of first documents can be quickly transmitted to the second terminal through the first input of the indication identifier of the first image with the association relation with the electronic document. Therefore, when the number of the electronic documents is large, the user does not need to search one by one in a large number of the electronic documents, and only the target document can be quickly searched and then sent to the target terminal by inputting the indication mark of the image with the association relation with the electronic document, so that the searching time of the user is shortened, and the document sending efficiency is improved.
In the embodiment of the present application, the first input includes a first sub-input and a second sub-input, and on the basis of the first sub-input, the step 104 may specifically include the following steps 104a and 104b:
step 104a, in response to the first sub-input indicating the identity, displaying Q first documents.
Specifically, the indication mark is used for indicating the Q first documents, and the user performs first sub-input on the indication mark, so that the document transmission device displays thumbnails of the Q first documents, and the user selects a target document to be transmitted to the second terminal from the Q first documents.
Specifically, the document transmission device responds to the first sub-input, and displays Q thumbnails of the first documents on the image interface where the first image is, and the document transmission device responds to the first sub-input, and displays Q thumbnails of the first documents on the first communication interface where the first image is.
Step 104b, transmitting the target document to the second terminal in response to the second sub-input of the target document in the Q first documents.
Specifically, the document generating apparatus may transmit the target document selected for transmission by the user to the second terminal based on the second sub-input of the target document from among the Q first documents by the user, and display the transmission result on the first communication interface.
Specifically, in the case where the first image is an image within the image interface, that is, the first image is an image that is not transmitted, the document transmission means may transmit only the target document associated with the first image to the second terminal in response to the above-described second sub-input.
According to the embodiment of the application, when a user needs to send the first document to other terminal equipment, the user can conveniently and quickly select from a plurality of first documents which are associated with the first image through the input operation of the indication identifier of the first image which is associated with the first document, and determine the target document which is hoped to be sent to other terminal equipment, so that the efficiency of sending the file by the user at other terminal equipment is improved.
In the embodiment of the present application, the step 104b may specifically include the following step 104b':
The step 104b' is to send the first image and the target document to the second terminal in response to the second sub-input to the target document in the Q first documents.
Specifically, in the case where the first image is an image within the image interface, that is, the first image is an image that is not transmitted, the document transmission means may simultaneously transmit the first image and the target document associated with the first image to the second terminal in response to the above-described second sub-input.
According to the embodiment of the application, when a user needs to send the first image to other terminal equipment, the user can conveniently select from a plurality of first documents related to the first image and determine the target document which is hoped to be sent to other terminal equipment, and then the first image and the target document are simultaneously sent to other terminal equipment, so that the efficiency of sending files by the user in other terminal equipment is improved.
In an embodiment of the present application, before the step 102, the document sending method may further include the following steps 106 and 108:
step 106, receiving a second input to the first image.
The first image is an image displayed in a thumbnail form in the image interface, namely, the first image is an unsent image, the second input is a touch input for sending the first image to the second terminal, and the second input can be specifically a click input for the first image. The document transmission means transmits the first image to the second terminal in response to the second input, and displays the transmission result on the first communication interface.
And step 108, responding to the second input, transmitting the first image to the second terminal, and displaying the indication identifier on the first communication interface.
The indication mark is used for indicating Q first documents, wherein Q is a positive integer, and the first documents and the first image have an association relation. That is, the above indication mark is used to indicate that the first image has the first document associated therewith, and if the first image does not have the indication mark, it is explained that the first document associated with the first image is not stored in the document transmission apparatus.
Specifically, the indication mark can be displayed around the first image in a floating manner, and the number of the first documents associated with the first image can be expressed by embedding numbers in the indication mark.
Further, whether or not there is a first document having an association with the first image may be retrieved in the document transmission apparatus by the storage address of the first image and the image name. And based on the first documents with the association, displaying the indication identifier on a first communication interface where the first image is located, further transmitting target documents in a plurality of first documents associated with the first image to a second terminal through input operation of the indication identifier, and displaying a transmission result on the first communication interface.
By way of example, FIG. 2 illustrates an interface schematic of a document sending device sending a first image and a target document associated therewith. As shown in fig. 2 (a), the user transmits a first image 214 to the second terminal in the first communication interface 244, the document transmission means searches for a target document associated with the first image 214 based on the storage address and the name of the first image 214 transmitted by the user, and when it is determined that there is a target document having an association with the first image 214, an indication mark 246 is displayed in the first communication interface 244, the indication mark 246 being used for indicating at least one target document having an association with the first image 214. Further, the user operates the indication mark 246 through the first sub-input, and the document transmission apparatus displays a thumbnail of the target document 248 having an association relationship with the first image 214, specifically, a name and a document format of the target document 248, in the first communication interface 244 as shown in (b) of fig. 2 in response to the first sub-input. Further, the user operates the target document 248 through the second sub-input to select the corresponding target document 248, and the document generating apparatus transmits the target document selected by the user to the second terminal in response to the second sub-input as shown in (c) of fig. 2, and displays the transmission result transmitted to the second terminal in the first communication interface 244.
According to the embodiment of the application, after the user sends the first image to other terminal equipment, the target document associated with the first image can be conveniently sent, so that the efficiency of sending the file by the user at the other terminal equipment is improved.
According to the document sending method provided by the embodiment of the application, the execution main body can be a document sending device. In the embodiment of the application, a document sending device is taken as an example to execute a document sending method.
As shown in fig. 3, an embodiment of the present application provides a document transmission apparatus 300, which may include a receiving unit 302 and a transmitting unit 304 described below.
A receiving unit 302, configured to receive a first input of an indication identifier for indicating Q first documents, where the first documents have an association relationship with the first image, and the first documents include identification content of the first image;
a transmitting unit 304 for transmitting a target document among the Q first documents to the second terminal in response to the first input;
Wherein Q is a positive integer.
Optionally, in the embodiment of the present application, the first input includes a first sub-input and a second sub-input, the document sending device 300 further includes a display unit 306, the display unit 306 is configured to display Q first documents in response to the first sub-input indicating the identification, and the sending unit 304 is specifically configured to send the target document to the second terminal in response to the second sub-input to the target document in the Q first documents.
Alternatively, in an embodiment of the present application, the sending unit 304 is specifically further configured to send the first image and the target document to the second terminal in response to the second sub-input to the target document in the Q first documents.
Optionally, in the embodiment of the present application, the receiving unit 302 is further configured to receive a second input on the first image, the sending unit 304 is further configured to send the first image to the second terminal in response to the second input, and the display unit 306 is further configured to display the indication identifier on the first communication interface.
In the embodiment of the present application, the document transmission apparatus 300 receives a first input of an instruction identification for a first image through the reception unit 302, responds to the first input through the transmission unit 304, and transmits a target document among Q first documents to a second terminal. The indication mark is used for indicating Q first documents, Q is a positive integer, the first documents and the first image have an association relation, and the first documents comprise identification content of the first image. In this way, when an electronic document (i.e., a first document) is transmitted by the document transmission device, a target document among a plurality of first documents can be quickly transmitted to a target terminal (i.e., a second terminal) by a first input of an indication identifier of an image (i.e., a first image) having an association relationship with the electronic document. Therefore, when the number of the electronic documents is large, the user does not need to search one by one in a large number of the electronic documents, and only the target document can be quickly searched and then sent to the target terminal by inputting the indication mark of the image with the association relation with the electronic document, so that the searching time of the user is shortened, and the document sending efficiency is improved.
The execution main body of the technical scheme provided by the embodiment of the application can be a device for generating the document, and can be specifically determined according to actual use requirements, and the embodiment of the application is not limited. In order to describe the document generating method provided by the embodiment of the present application more clearly, the following method embodiment will exemplarily describe the document generating apparatus with respect to the execution subject of the document generating method.
The document generating method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
As shown in fig. 4, an embodiment of the present application provides a document generating method, which may include the following steps 402 to 408:
Step 402, receiving a third input from a user selecting N first images from the M images.
The M images may be all images in the electronic device gallery, or may be images in a single album in the electronic device gallery. The N first images are all or part of the M images, M and N are positive integers, and M is greater than or equal to N.
Further, the third input may be an input by which the user selects N first images from the M images. Specifically, the third input may include a fourth sub-input, a fifth sub-input, and a sixth sub-input.
Wherein, in the case that the M images are displayed in the form of thumbnails on the album interface, the fourth sub-input is an input for converting the M images from an original state to a selectable state. The document generation means is responsive to the fourth sub-input of the M images for further displaying a selection control within each of the M images for selection by the user of the M images. Specifically, the fourth sub-input may be a long-press input to any one of the M images, or may be an operation input to a first indication control in an album interface where the M images are located, where the first indication control may be used to indicate an editable state of switching the M images, that is, after the user operates the first indication control, the M images are converted from an original state to a selectable state.
Further, the fifth sub-input is a touch input of the user to the M images, so as to select N first images from the M images, where the touch input may be a click input of the user to the M images, or a click input of the user to a selection control in the M images. The document generating means is responsive to the fifth sub-input for displaying a selection indication within the selection control to indicate that the image has been selected. Wherein the selection identifier may be a specific symbol, for example, a "v", and the selection identifier may be a different number, and may be used to indicate the order in which the images have been selected by the user, and also indicate the order in which the images have been selected by the user.
Further, the sixth sub-input is a touch input of the user to the second indication control in the album interface where the M images are located, and specifically, the sixth sub-input may be a click input to the second indication control. The document generating apparatus determines that the user has completely selected all of the N first images in response to the sixth sub-input, thereby performing a next process on the N first images.
Step 404, in response to the third input, displaying N first images in the first arrangement order in the first display interface.
Specifically, the first display interface is different from the album interface, and N first images are displayed in the form of thumbnails in the first display interface, which may generate a document interface for import.
Further, the identification code may be a page code included in the first image content, which may be obtained by identifying the first image. The above-described first arrangement order may be determined by the order of the identification codes in the N first images or the order of the N first images selected by the user, and the order determination of the N first images is described below by three cases.
In case one, in case that the N first images each contain an identification code, the first arrangement order may be determined by the order of the identification codes in the N first images. The sequence of the identification codes is determined by identifying the identification codes in the first images, and then the sequence of the N first images is automatically adjusted according to the sequence of the identification codes.
In the second case, in the case that none of the N first images includes the identification code, the first arrangement order may be determined by the order in which the N first images are selected by the user. The sequence of selecting the N first images by the user may be determined according to the time when the user selects the first images, and may also be determined by the above-mentioned digital selection identifier.
In the third case, in the case where a part of the N first images contains the identification code and another part does not contain the identification code, the document generating apparatus sorts the part of the first images containing the identification code according to the order of the identification codes in the first images, and the document generating apparatus sorts the other part of the first images not containing the identification code according to the order in which the user selects the first images. Wherein a part of the first image not containing the identification code is entirely located after another part of the first image containing the identification code.
Exemplary, fig. 5 shows an interface schematic for selecting N first images from M images in an embodiment of the present application. As shown in fig. 5 (a), 12 (m=12) images are displayed in the album interface 202, and eight images include the identification code 216. The user operates the first indication control 204 via a fourth sub-input, in response to which the document generating apparatus displays a selection control 206 in the upper right hand corner of each image, as shown in fig. 5 (b), to indicate that the image is currently in a selectable state. Further, the user operates the selection control 206 through a fifth sub-input, in response to which the document generating apparatus displays a selection flag in digital form within the selection control 206 to indicate that the image has been selected, and may indicate the order in which the images have been selected, as shown in (c) of fig. 5. After the image selection is completed, the user operates the second indication mark 210 through the sixth sub-input, and in response to the sixth sub-input, as shown in (d) of fig. 5, the document generating apparatus displays 6 (n=6) first images 214 in the first display interface 212. Wherein the four first images 214 containing the identification codes 216 are ordered in the order of the identification codes, and the two first images 214 not containing the identification codes 216 are ordered behind the four first images with the identification codes 216 in the order of selection indicated by the selection identifications.
Further, as shown in fig. 5 (d), each of the 6 first images 214 includes a third indication control 218, and the user may delete the corresponding first image 214 by touching the third indication control 218 with a touch input, which may specifically be a click input to the third indication control 218.
Step 406, a fourth input is received that generates a target document.
Step 408, in response to the fourth input, processing the N first images and generating a target document.
The target document has an association relation with the first images, and the target document comprises identification contents of N first images. Specifically, the target document may be a document whose content completely coincides with the first image, or may be a document containing the content of the first image (for example, the first image is an image of a certain page in a book, and the target document is a complete book document after all images of the whole book are identified).
Further, a fourth input is an input for determining N first image generation target documents to be selected for the user, the fourth input including a plurality of sub-inputs.
Specifically, the fourth input includes a seventh sub-input, which is a touch input by the user to the fourth indication control in the first display interface. The fourth indication control may generate a target document entry, and the seventh sub-input may specifically be a single click input to the fourth indication control. The document generating means performs recognition processing on the N first images in response to the seventh sub-input to generate an electronic document.
Further, the format of the target document defaults to PDF format, the target document can also be Word format, and the user can select according to the actual requirement.
According to the document generation method provided by the embodiment of the application, when a user processes a plurality of images (namely N first images) by the document generation device to generate a target document, the document generation device can automatically adjust the sequence of the N first images according to the sequence of identification codes in the N first images or the sequence of the N first images selected by the user, so that the target document with correct content sequence is generated. Thus, the function of image processing of the document generation device is expanded, and the user can process the images through the document generation device to generate the target document, so that the user does not need to acquire the images according to the sequence of the identification codes, and even if the sequence of the images for generating the target document is disordered, the target document with correct content sequence can be generated.
In the embodiment of the present application, after the step 404, the method for generating a document provided in the embodiment of the present application further includes the following steps 410 and 412.
Step 410, receiving a fifth input from the user to add J second images to the N first images.
Wherein J is a positive integer. The second image may be any image other than the N first images among the M images, where J should be less than or equal to M-N. The second image may also be other images different from the album in which the M images are located, where J should be smaller than the total number of images in the album in which the second image is located.
Further, the fifth input may include an eighth sub-input, where the eighth sub-input is a touch input of the user to the fifth indication control in the first display interface, and the touch input may specifically be a single click input. Through the eighth sub-input of the fifth indication control, the document generating device display interface returns to the album interface from the first display interface, so that a user can select, add, and the like in the album interface.
Step 412, in response to the fifth input, adding and displaying each of the J second images to the N first images according to the identification codes in the J second images, and updating the first arrangement order.
Specifically, the document generating device responds to the eighth sub-input to return to the album interface, and repeats the operations of the fourth sub-input, the fifth sub-input and the sixth sub-input, and selects J second images from the album where the second images are located and adds the J second images to the N first images in the first display interface.
And for the second image containing the identification codes, inserting the second image into corresponding positions in the N first images according to the identification codes, so that the identification codes of the first image and the second image are consecutive and correct in sequence. For the second image not including the identification code, the second image is added to the rear of the first image as a whole in accordance with the order in which the user selects the second image. The sequence of selecting the second images by the user can be determined according to the time of selecting the second images by the user, and can also be determined by the digital form selection identification.
By way of example, fig. 6 shows an interface schematic diagram of adding J second images to N first images in the case where the first images and the second images are located in the same album. As shown in fig. 6 (a), 6 (n=6) first images 214 are displayed in the second display interface 212, the user operates the fifth indication control 220 through the eighth sub-input, the document generating apparatus returns to the first display interface 202 in response to the eighth sub-input, as shown in fig. 6 (b), the user repeats the operation of the fifth sub-input, selects 5 (j=5) second images 222, and repeats the operation of the sixth sub-input, as shown in fig. 6 (c), adding 5 second images to the original 6 first images. Wherein the three second images 222 containing the identification code 216 are ordered in the order of the identification code, and the two second images 222 not containing the identification code 216 are ordered in the order of selection indicated by the selection identification behind the image with the identification code 216.
It will be appreciated that, after the user selects N first images, or after the user adds J second images to the N first images again, the document generating apparatus can automatically arrange the images (including the first images or the first images and the second images) according to the first arrangement sequence according to the sequence of the identification codes in the images or the sequence of the images selected by the user, and if the user needs to adjust the images arranged according to the first arrangement sequence according to the actual needs, the document generating apparatus can directly perform the homeotropic adjustment by dragging one of the images and moving to the target position.
Fig. 7 is an interface schematic diagram illustrating the arrangement sequence of the first images adjusted by the same screen. As shown in fig. 7 (a), 11 (n=11) first images 214 are displayed in the first display interface 212, and the user operates the target image 224 located in the first order, and the document generating apparatus responds to the operation by moving the target image 224 from the first order position to the second order position in the first display interface 212 as shown in fig. 7 (b).
In the above embodiment provided by the application, in the scene that the user needs to add the second image to the first image, the document generating device can automatically insert the second image into the first image according to the sequence of the identification codes in the second image by the user, and update the first sorting sequence according to the sequence of the identification codes. The efficiency of arranging the images is improved, and the phenomenon of disordered content in the target document generated after the images are added is avoided.
It should be noted that, the number of the first images after automatic sorting or the number of the first images after automatic sorting and the number of the second images after automatic sorting are large, and the user cannot look up all the images with large numbers in the same display interface, so that the sequence of the images cannot be manually readjusted.
In the embodiment of the present application, after the step 404, the method for generating a document provided in the embodiment of the present application further includes the following steps 414 and 416.
Step 414, receiving a sixth input that the user divides the first display interface into a first display area and a second display area and adjusts the order of the target image in the N first images.
It will be appreciated that, as described above, when the number of the first images or the first images and the second images is large, the positional order of the images may be adjusted by dividing the area. The first display area is used for displaying N first images, and the second display area is used for displaying target images shifted out of the first positions of the N first images. The target image is a first image which needs to be subjected to position adjustment.
Alternatively, the second display area may be located in four orientations of up, down, left, and right of the first display area, which is not particularly limited herein. The area of the second display area is smaller than that of the first display area.
It will be appreciated that since the document generating apparatus can automatically arrange the N first images in the first arrangement order according to the order of the identification codes in the images or the order of the images selected by the user, if the user needs to adjust the arrangement order arranged in the first arrangement order according to actual needs, the in-line adjustment can be performed by moving one of the target images to the target position (sixth input).
In response to the sixth input, the target image is added and displayed to the second order of the N first images and the first order is updated 416.
In order to implement the process of adjusting the order of the target image by split-screen, the sixth input may include a plurality of sub-inputs to implement the process of split-screen and moving the target image.
The sixth input may include a ninth input, where the ninth input is a touch input of the user to the first display interface, and is used to divide the first display interface into a first display area and a second display area, and the ninth input may specifically be a long-press input and a sliding input along a preset track. The specific form of the ninth input may be determined according to practical situations, and embodiments of the present application are not limited in particular.
Further, the sixth input may include a tenth sub-input, where the tenth sub-input is a touch input of the user on the target image, and is used to move the target image from the first display area to the second display area, and the tenth sub-input may specifically be a click input or a slide input. The specific form of the tenth sub-input may be determined according to practical situations, and embodiments of the present application are not limited in particular.
Further, the sixth input may include an eleventh sub-input, where the eleventh sub-input is a touch input of the user to the sixth indication control located in the first display area or a side edge thereof, and is used to integrally move the first image in the first display area, and the eleventh sub-input may specifically be a sliding input.
Further, the sixth input may include a twelfth sub-input, which is a touch input of the user to the target image located in the second display area, for moving the target image from the second display area to the second position of the N first images in the first display area, and the twelfth sub-input may specifically be a sliding input.
Exemplary, fig. 8 shows an interface diagram of the split screen adjusting the arrangement order of the first images. As shown in fig. 8 (a), N first images 214 are displayed in the first display interface 212, and the user makes a ninth sub-input (two-finger opposite sliding) to the first display interface 212, in response to which the document generating apparatus divides the first display interface 212 into a first display area 2122 and a second display area 2124 as shown in fig. 8 (b). Further, the user operates the target image 224 located in the first order through the tenth sub-input, and the document generating apparatus moves out of the first display area 2122 and displays the target image 224 to the second display area 2124 as shown in (c) of fig. 8 in response to the tenth sub-input. Further, the user operates the sixth instruction control 226 through the eleventh sub-input (slide input), and the document generating apparatus moves down the entirety of the first image 214 in the first display area 2122 as shown in (d) of fig. 8 in response to the eleventh sub-input, so that the first image 214 arranged at the rear is displayed in the current interface. Further, the user operates the target image 224 located in the second display area 2124 through the twelfth sub-input (sliding input), and the document generating apparatus moves the target image 224 from the second display area 2124 to the second-order position of the first display area 2122 as shown in (e) of fig. 8 in response to the twelfth sub-input. Further, the user performs an operation input (two-finger back sliding) to the first display interface 212, and as shown in fig. 8 (f), the first display interface 212 is restored to one area display.
According to the embodiment provided by the application, in the case that the user needs to add the second images to the scene in the first images, if the number of the first images is too large, the user cannot conveniently and manually adjust the arrangement sequence of the first images in more first images, the document generation device can divide the first display interface into two display areas so as to facilitate the user to manually adjust the arrangement sequence of the first images and update the first arrangement sequence. The method improves the efficiency of arranging the images, meets the requirement of users for automatically adjusting the arrangement sequence of the images, further can generate target documents meeting the requirements of the users, and avoids the problem that the target documents cannot be generated according to the requirements of the users.
The document generating apparatus may generate the target document in the following two ways after the document generating apparatus automatically sorts the images or after the user manually adjusts the order of the images.
In one mode, a target document is generated according to a first arrangement order of N first images.
In the embodiment of the present application, the step 408 may specifically include the following steps 408a and 408b.
Step 408a, identifying the content in each of the N first images to obtain N sub-document files.
Specifically, each of the N sub-documents is a complete recognition result of one of the N first images. For example, if there are characters and pictures in the a images in the N first images, the recognition result of the a images also includes the characters and pictures, and the document generating device forms the sub-document a corresponding to the a images according to the recognition result. In this way, the N first images are identified one by one according to the method, and N sub-documents are generated.
Further, the above N sub-documents are not final documents, but process files formed in the process of generating the target document.
Step 408b, sorting the N sub-document files according to the first arrangement order to generate the target document.
It can be understood that after the document generating device automatically ranks the images or manually adjusts the sequence of the images, the user does not need to continuously adjust the sequence of the N sub-documents in the target document to be generated, and can rank the corresponding N sub-documents according to the first ranking sequence of the N first images directly, and generate the target document.
Specifically, the naming of the target document may be performed according to the time when the target document is generated.
Further, the target document may include directory contents automatically generated according to recognition results of the N first images.
In the above embodiment provided by the present application, after the user determines the arrangement order of the first images, the document generating apparatus can directly generate the target document according to the first arrangement order. The efficiency of generating the target document is improved, and further the user requirement is met.
And secondly, according to the identification of the N first images, K fragment files are obtained, the K fragment files are reordered to form a second ordering sequence, and according to the second ordering sequence of the K fragment files, the target document is generated.
In the embodiment of the present application, the step 408 may specifically further include the following steps 408c, 408d and 408e.
And 408c, identifying the content in each of the N first images, and displaying K clip files on the second display interface.
The fragment file is fragment content in the first image, and K is a positive integer.
Specifically, the K clip files may be recognition results of the N first images, and the document generating apparatus may generate a corresponding clip file corresponding to the clip content in each first graphic after recognizing the N first images.
Specifically, the above-mentioned one clip file may correspond to the content in one natural paragraph in the a image in the N first images, or may also correspond to the content of each line in the a image, or may also correspond to one picture in the a image. The content corresponding to the clip file can be specifically set according to the needs of the user.
It will be appreciated that since each clip file corresponds to not the entire content in the complete image a, but to a portion of the clip content in the image a, the number K of clip files described above should be greater than the number N of first images.
Specifically, the second display interface may be an interface for displaying K clip files after identifying N images and splitting the identification result into K clip files.
And 408d, receiving a seventh input of dividing the second display interface into a third display area and a fourth display area by the user and adjusting the order of the target clip file in the K clip files.
The third display area is used for displaying K fragment files, and the fourth display area is used for displaying target fragment files which are shifted out from the first sequence of the K fragment files.
It will be appreciated that, as described above, when the number of the above K clip files is large, the positional order of the images can be adjusted by dividing the area. Specifically, the seventh input may split the second display interface into two display areas, and be a third display area and a fourth display area, respectively.
The third display area is used for displaying K fragment files, and the fourth display area is used for displaying target fragment files which are shifted out from the first order of the K fragment files.
Alternatively, the fourth display area may be located in four orientations of up, down, left, and right of the third display area, which is not particularly limited herein. The area of the fourth display area is smaller than that of the third display area.
It can be understood that, since the K clip files may be obtained by identifying the N first images in the first order and splitting the identification result based on the order. If the user needs to order and adjust the K clip files according to the actual needs, the order adjustment can be performed on the target clip files by selecting one of the target clip files and moving to the target position (seventh input).
And 408e, in response to the seventh input, adding and displaying the target segment to the second order of the K segment files and sorting the K segment files according to the second order to generate the target document.
Specifically, the document generating apparatus adjusts the target clip file from the first order to the second order of the K clip files in response to the seventh input.
In order to implement the process of adjusting the order of the target clip file by split-screen, the seventh input may include a plurality of sub-inputs to implement the process of split-screen and moving the target clip file.
Specifically, the seventh input may include a thirteenth sub-input, where the thirteenth sub-input is a touch input of the user to the second display interface, and is used to divide the second display interface into a third display area and a fourth display area, and the thirteenth sub-input may specifically be a long-press input and a sliding input along a preset track. The specific form of the thirteenth sub-input may be determined according to the actual situation, and embodiments of the present application are not particularly limited.
Further, the seventh input may include a fourteenth sub-input, where the fourteenth sub-input may be a touch input of the user to the target clip file, and is used to move the target clip file from the third display area to the fourth display area, and the fourteenth sub-input may specifically be a click input or a slide input. The specific form of the fourteenth sub-input may be determined according to practical situations, and embodiments of the present application are not particularly limited.
Further, the seventh input may include a fifteenth sub-input, where the fifteenth sub-input may be a touch input of the user to an eighth indication control located in the third display area or a side thereof, and is used to move the clip file in the third display area as a whole, and the fifteenth sub-input may specifically be a sliding input.
Further, the seventh input may include a third sub-input, where the third sub-input may be a touch input by a user to a target clip file located in the fourth display area, for moving the target clip file from the fourth display area to a second position in the K clip files in the third display area, and the third sub-input may specifically be a sliding input.
Further, the seventh input further includes a touch input of the seventh indication control in the second display interface by the user, where the touch input may specifically be a single click input, and the document generating device responds to the eighth sub-input to complete the operation of generating the target document.
Further, the format of the target document defaults to a PDF format, and the target document can also be a Word format, and specifically can be selected according to the actual needs of the user.
By way of example, FIG. 9 shows an interface diagram for generating a clip file and adjusting the order of the clip files and generating a target document in a split screen manner. As shown in fig. 9 (a), a plurality of first images 214 arranged in a first arrangement order are displayed in the first display interface 212, and the user performs a seventh sub-input to the fourth instruction control 228 in the first display interface 212. The document generating apparatus recognizes the content of the first image in response to the seventh sub-input, and further displays 12 (k=12) clip files on the second display interface 230 as shown in (b) of fig. 9. Further, the user makes a thirteenth sub-input (two-finger opposite sliding) to the second display interface 230, and in response to the thirteenth sub-input, the document generating apparatus divides the second display interface 230 into a third display area 2302 and a fourth display area 2304 as shown in (c) of fig. 9. Further, the user operates the target clip file 234 located in the first order through the fourteenth sub-input, and the document generating apparatus moves the target clip file 234 from the third display area 2302 to the fourth display area 2304 in response to the fourteenth sub-input as shown in (d) of fig. 9.
Further, the user operates the eighth indication control 236 through the fifteenth sub-input, and the document generating apparatus moves down the entirety of the clip files 232 in the third display area 2302 as shown in (e) of fig. 9 in response to the fifteenth sub-input so that the clip files ordered later are displayed in the current interface. The user operates the target clip file 234 located in the fourth display region 2304 through the third sub-input, and the document generating apparatus moves the target clip file 234 from the fourth display region 2304 to the second position of the third display region 2302 in response to the third sub-input as shown in (f) of fig. 9.
Further, the user inputs an operation (two-finger back sliding) to the second display interface 230, and as shown in fig. 9 (g), the second display interface 230 returns to an area display. Further, the user inputs an operation to the ninth indication control 238 in the second display interface 230, and as shown in (h) in fig. 9, a format selection control 240 is displayed on the second display interface 230 for the user to select the format of the target document. Then, an operation input is made to the seventh indication control 242 in the second display interface 230 to complete the operation of generating the target document.
It should be noted that, the method for adjusting the order of the target clip file in the above embodiment is applicable to a scene with a large number of K clip files, and when the K clip files can be displayed on the same screen, the target clip file may be directly dragged to adjust the target clip file from the first position to the second position in the K clip files.
Illustratively, fig. 10 shows an interface diagram of the arrangement order of the on-screen adjustment clip files. As shown in fig. 10 (a), 12 (k=12) clip files 232 are displayed in the second display interface 230, and the user operates the target clip file 234 located in the first order by an input operation, and the document generating apparatus moves the target clip file 234 from the first order position to the second order position in the second display interface 230 in response to the operation, as shown in fig. 10 (b).
According to the embodiment of the application, after the arrangement sequence of the first image is determined by the user, if the sequence of the segment content in the identification content is required to be adjusted, the document generation device can display the identification result of the first image in the form of a plurality of segment files, the user can adjust the sequence of a certain segment file, and the plurality of segment files are generated into the target document according to the adjusted second sequence, so that the efficiency of generating the target document is improved, and the user requirement is further met.
In an embodiment of the present application, the document generation method further includes step 418 described below.
And 418, establishing the association relation between any one of the N first images and the target document.
Specifically, after the target document is formed, an association relationship between the target document and the N first images may be established according to the storage address and the document name of the document, and the storage address and the image name of the first image of the N first images of the target document may be generated, and an association list may be generated.
According to the embodiment of the application, after the user identifies the first image and generates the target document, the target document is associated with the first image, so that when the user needs to send the first image to other terminal equipment, the target document associated with the first image can be conveniently sent, and the efficiency of the user for sending files in other terminal equipment is improved.
According to the document generation method provided by the embodiment of the application, the execution main body can be a document generation device. In the embodiment of the application, a method for executing document generation by a document generation device is taken as an example, and the document generation device provided by the embodiment of the application is described.
As shown in fig. 11, an embodiment of the present application provides a document generating apparatus 1100, which may include a receiving unit 1102, a display unit 1104, and a processing unit 1106, which are described below.
A receiving unit 1102 is configured to receive a third input from a user selecting N first images from the M images.
A display unit 1104 for displaying N first images in a first arrangement order in the first display interface in response to the third input, wherein the first arrangement order is determined by an order of identification codes in the N first images or an order of the N first images selected by the user.
The receiving unit 1102 is further configured to receive a fourth input of the generation target document.
The processing unit 1106 is further configured to process the N first images in response to the fourth input and generate a target document, where the target document has an association relationship with the first images, and the target document includes identification content for the N first images.
Wherein M and N are positive integers, M is greater than or equal to N.
Optionally, in the embodiment of the present application, the receiving unit 1102 is further configured to receive a fifth input that a user adds J second images to the N first images, and the processing unit 1106 is further configured to, in response to the fifth input, display each of the J second images to the N first images according to the identification code in the J second images, and update the first arrangement sequence, where J is a positive integer.
Optionally, in the embodiment of the present application, the receiving unit 1102 is further configured to receive a sixth input that the user divides the first display interface into a first display area and a second display area, and adjusts the order of the target images in the N first images, where the first display area is used for displaying the N first images, and the second display area is used for displaying the target images shifted out from the first order of the N first images, and the display unit 1104 is further configured to, in response to the sixth input, add and display the target images to the second order of the N first images, and update the first arrangement order.
Optionally, in the embodiment of the present application, the processing unit 1106 is specifically configured to identify content in each of the N first images to obtain N sub-document files, where the N sub-document files are in one-to-one correspondence with the N first images, and sort the N sub-document files according to the first arrangement order to generate the target document.
Optionally, in the embodiment of the present application, the processing unit 1106 is further configured to identify content in each of the N first images, the display unit 1104 is further configured to display K clip files on a second display interface, where the clip files are clip content in the first images and K is a positive integer, the receiving unit 1102 is further configured to receive a seventh input that a user divides the second display interface into a third display area and a fourth display area and adjusts a order of a target clip file in the K clip files, the third display area is configured to display the K clip files, the fourth display area is configured to display the target clip file shifted from the first order of the K clip files, the display unit 1104 is further configured to, in response to the seventh input, add the target clip to the second order of the K clip files and order the K clip files according to the second order, and the processing unit 1106 is further configured to generate the target document.
Optionally, in an embodiment of the present application, the processing unit 1106 is further configured to establish an association relationship between any one of the N first images and the target document.
In the embodiment of the present application, the document generating apparatus 1100 receives a third input of selecting N first images from M images by the user through the receiving unit 1102, and displays the N first images in a first arrangement order in the first display interface through the display unit 1104 in response to the third input, further receives a fourth input of generating a target document through the receiving unit 1102, and further processes the N first images and generates the target document in response to the fourth input through the processing unit 1106. M and N are positive integers, M is greater than or equal to N, and the first arrangement sequence is determined by the sequence of identification codes in the N first images or the sequence of N first images selected by a user. In this way, when a user processes a plurality of images (i.e., N first images) by the document generating apparatus to generate a target document, the document generating apparatus can automatically adjust the order of the N first images according to the order of the identification codes in the N first images or the order in which the user selects the N first images, thereby generating a target document whose content order is correct. Thus, the image processing function of the document generation device is expanded, and the user can process the images through the electronic equipment to generate the target document, so that the user does not need to acquire the images according to the sequence of the identification codes, and even if the sequence of the images for generating the target document is disordered, the target document with correct content sequence can be generated.
The document sending device and the document generating device in the embodiment of the application can be electronic equipment, and can also be components in the electronic equipment, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. The electronic device may be a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a Mobile internet appliance (Mobile INTERNET DEVICE, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a robot, a wearable device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., which are not particularly limited in the embodiments of the present application.
The document sending device and the document generating device in the embodiment of the present application may be devices having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The document sending device provided by the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and in order to avoid repetition, a description is omitted here.
Further, the document generating apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 4, and in order to avoid repetition, a description is omitted herein.
Optionally, as shown in fig. 12, an electronic device 1200 is further provided in the embodiment of the present application, which includes a processor 1201 and a memory 1202, where the memory 1202 stores a program or an instruction that can be executed by the processor 1201, where the program or the instruction implements the steps of the embodiment of the document sending method when executed by the processor 1201, or where the program or the instruction implements the steps of the embodiment of the document generating method when executed by the processor 1201, and where the same technical effects can be achieved, and in order to avoid repetition, a detailed description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 13 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1300 includes, but is not limited to, a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, and a processor 1310.
Those skilled in the art will appreciate that the electronic device 1300 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1310 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
In an embodiment of the present application, in one aspect, the electronic device 1300 may be used to implement the various processes of the document transmission method embodiments described above.
The user input unit 1307 is configured to receive a first input of an indication identifier for indicating Q first documents, where the first documents have an association relationship with the first image, and the first documents include identification content of the first image;
a processor 1310 for transmitting a target document among the Q first documents to the second terminal in response to the first input;
Wherein Q is a positive integer.
In an embodiment of the present application, the electronic apparatus 1300 receives a first input of an indication identifier of a first image through the user input unit 1307, responds to the first input through the processor 1310, and transmits a target document among Q first documents to the second terminal. The indication mark is used for indicating Q first documents, Q is a positive integer, the first documents and the first image have an association relation, and the first documents comprise identification content of the first image. In this way, when an electronic document (i.e., a first document) is transmitted by the document transmission device, a target document among a plurality of first documents can be quickly transmitted to a target terminal (i.e., a second terminal) by a first input of an indication identifier of an image (i.e., a first image) having an association relationship with the electronic document. Therefore, when the number of the electronic documents is large, the user does not need to search one by one in a large number of the electronic documents, and only the target document can be quickly searched and then sent to the target terminal by inputting the indication mark of the image with the association relation with the electronic document, so that the searching time of the user is shortened, and the document sending efficiency is improved.
Optionally, the first input includes a first sub-input and a second sub-input, and the display unit 1306 is configured to display Q first documents in response to the first sub-input indicating the identification.
The processor 1310 is also configured to send the target document to the second terminal in response to a second sub-input to the target document in the Q first documents.
Optionally, the processor 1310 is further configured to send the first image and the target document to the second terminal in response to a second sub-input to the target document in the Q first documents.
Optionally, the user input unit 1307 is further configured to receive a second input for the first image.
The processor 1310 is also configured to send the first image to the second terminal in response to the second input.
The display unit 1306 is further configured to display an indication identifier on the first communication interface.
When the electronic device provided by the embodiment of the application sends the first documents, the target documents in the plurality of first documents can be quickly sent to the target terminal (namely the second terminal) through the first input of the indication identifier of the image (namely the first image) with the association relation with the electronic documents. Therefore, when the number of the electronic documents is large, the user does not need to search one by one in a large number of the electronic documents, and only the target document can be quickly searched and then sent to the target terminal by inputting the indication mark of the image with the association relation with the electronic document, so that the searching time of the user is shortened, and the document sending efficiency is improved. In addition, the electronic device provided by the embodiment of the application can only send the first document to the second terminal, can also send the first document and the first image to the second terminal at the same time, and can also send the first document through the input operation of the indication identifier of the first image after sending the first image, thereby providing a plurality of document sending modes, being capable of conveniently sending the target document related to the first image and improving the efficiency of the user for sending the document in other terminal devices.
Electronic device 1300, on the other hand, may be used to implement the various processes of the document generation method embodiments described above.
Wherein the user input unit 1307 is configured to receive a third input for selecting N first images from the M images by the user.
A display unit 1306 for displaying the N first images in a first arrangement order in the first display interface in response to the third input, wherein the first arrangement order is determined by an order of identification codes in the N first images or an order of the N first images selected by the user.
The user input unit 1307 is also configured to receive a fourth input for generating a target document.
The processor 1310 is further configured to process the N first images and generate a target document in response to the fourth input, where the target document has an association relationship with the first images, and the target document includes identification content for the N first images.
Wherein M and N are positive integers, M is greater than or equal to N.
In the embodiment of the present application, the electronic device 1300 receives a third input of selecting N first images from the M images by the user through the user input unit 1307, and displays the N first images in the first display interface according to the first arrangement order in response to the third input through the display unit 1306, further receives a fourth input of generating the target document through the user input unit 1307, and further responds to the fourth input through the processor 1310, so as to process the N first images and generate the target document. M and N are positive integers, M is greater than or equal to N, and the first arrangement sequence is determined by the sequence of identification codes in the N first images or the sequence of N first images selected by a user. In this way, when the user processes a plurality of images (i.e., N first images) by the electronic device 1300 to generate a target document, the electronic device 1300 may automatically adjust the order of the N first images according to the order of the identification codes in the N first images or the order in which the user selects the N first images, thereby generating a target document with correct content order. In this way, the function of image processing of the electronic device 1300 is expanded, so that a user can process images through the electronic device 1300 to generate a target document, the user does not need to acquire images according to the sequence of the identification codes, and even if the sequence of the images for generating the target document is disordered, the target document with correct content sequence can be generated.
Optionally, the user input unit 1307 is further configured to receive a fifth input by the user to add J second images to the N first images.
The display unit 1306 is further configured to display each of the J second images in addition to the N first images according to the identification code in the J second images in response to the fifth input, and update the first arrangement order, wherein J is a positive integer.
Optionally, the user input unit 1307 is further configured to receive a sixth input that the user divides the first display interface into a first display area and a second display area, and adjusts the order of the target image in the N first images, where the first display area is used for displaying the N first images, and the second display area is used for displaying the target image shifted out from the first order of the N first images.
The display unit 1306 is further configured to display the target image to a second order of the N first images in response to the sixth input, and update the first arrangement order.
Optionally, the processor 1310 is specifically configured to identify content in each of the N first images to obtain N sub-document files, where the N sub-document files are in one-to-one correspondence with the N first images, and sort the N sub-document files according to the first arrangement order to generate the target document.
Optionally, the display unit 1306 is further configured to identify content in each of the N first images, and display K clip files on the second display interface, where the clip files are clip content in the first images and K is a positive integer.
The user input unit 1307 is further configured to receive a seventh input for the user to divide the second display interface into a third display area and a fourth display area, and adjust a position of the target clip file in the K clip files, where the third display area is used for displaying the K clip files, and the fourth display area is used for displaying the target clip file shifted out from the first position of the K clip files.
The display unit 1306 is further configured to, in response to the seventh input, display the target segment in a second order of the K segment files and sort the K segment files according to the second order in a second order in which the K segment files are formed, to generate the target document.
Optionally, the processor 1310 is further configured to establish an association relationship between any one of the N first images and the target document.
When the electronic device provided by the embodiment of the application processes a plurality of images (namely N first images) to generate the target document, the sequence of the N first images can be automatically adjusted according to the sequence of the identification codes in the N first images or the sequence of the N first images selected by a user, so that the target document with correct content sequence is generated. Meanwhile, the electronic equipment provided by the embodiment of the application also provides a function of manually adjusting the sequence of the first images and editing the content of the first images, and an association relationship between the first images and the generated target documents is established when the target documents are generated, so that the target documents associated with the first images can be conveniently transmitted when the first images are transmitted. Therefore, the function of image processing of the electronic equipment is expanded, the image is conveniently processed by the user through the electronic equipment to generate the target document, the user can conveniently and rapidly send the target document associated with the first image when sending the first image, and the operation steps of the user are reduced.
It should be appreciated that in embodiments of the present application, the input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042, the graphics processor 13041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes at least one of a touch panel 13071 and other input devices 13072. Touch panel 13071, also referred to as a touch screen. The touch panel 13071 may include two parts, a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 1309 may be used to store software programs as well as various data. The memory 1309 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1309 may include volatile memory or nonvolatile memory, or the memory 1309 may include both volatile and nonvolatile memory. Memory 1309 in embodiments of the application include, but are not limited to, these and any other suitable types of memory.
Processor 1310 may include one or more processing units, and optionally, processor 1310 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1310.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-mentioned document sending method embodiment, or when executed by a processor, implements each process of the above-mentioned document generating method embodiment, and can achieve the same technical effects, and in order to avoid repetition, a detailed description is omitted here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer readable memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions to realize each process of the embodiment of the document sending method, or the processor is used for running the program or instructions to realize each process of the embodiment of the document generating method, and the same technical effect can be achieved, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, the program product being executed by at least one processor to implement the respective processes of the above-described document transmission method embodiment, or the program product being executed by at least one processor to implement the respective processes of the above-described document generation method embodiment, and achieving the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in part in the form of a computer software product stored on a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.
Claims (10)
1. A document transmission method, the method comprising:
Receiving a first input of an indication mark of a first image, wherein the indication mark is displayed around the first image in a floating manner, the indication mark is used for indicating Q first documents, the first documents have an association relationship with the first image, and the first documents comprise identification contents of the first image;
transmitting a target document of the Q first documents to a second terminal in response to the first input;
Wherein Q is a positive integer;
The first input comprises a first sub-input and a second sub-input, and the responding to the first input sends target documents in the Q first documents to a second terminal, specifically comprises the following steps:
responsive to a first sub-input to the indication identifier, displaying the Q first documents;
And transmitting the target document to the second terminal in response to a second sub-input of the target document in the Q first documents.
2. The document transmission method according to claim 1, wherein said transmitting the target document to the second terminal in response to the second sub-input of the target document among the Q first documents specifically includes:
The first image and the target document are sent to the second terminal in response to a second sub-input to the target document of the Q first documents.
3. The document transmission method according to claim 1, wherein before the receiving of the first input of the indication identifier of the first image, the document transmission method further comprises:
Receiving a second input to the first image;
And responding to the second input, sending the first image to the second terminal, and displaying the indication identifier on a first communication interface.
4. A document transmission apparatus, characterized in that the document transmission apparatus comprises:
the receiving unit is used for receiving first input of indication marks of a first image, wherein the indication marks are displayed around the first image in a floating mode, the indication marks are used for indicating Q first documents, the first documents have association relations with the first image, and the first documents comprise identification contents of the first image;
a transmitting unit configured to transmit a target document among the Q first documents to a second terminal in response to the first input;
Wherein Q is a positive integer;
The first input includes a first sub-input and a second sub-input;
the document transmission apparatus further includes:
a display unit for displaying the Q first documents in response to a first sub-input of the indication identifier;
The sending unit is specifically configured to send the target document to the second terminal in response to a second sub-input to the target document in the Q first documents.
5. A document generation method, the method comprising:
receiving a third input from the user selecting N first images from the M images;
Displaying the N first images in a first arrangement order in a first display interface in response to the third input, wherein the first arrangement order is determined by the order of identification codes in the N first images;
receiving a fourth input that generates a target document;
Processing the N first images and generating the target document in response to the fourth input, wherein the target document has an association relation with the first images, and the target document comprises identification content of the N first images;
wherein M and N are positive integers, M is greater than or equal to N;
And when one part of the N first images contains the identification codes and the other part does not contain the identification codes, sequencing the first images containing one part of the identification codes according to the sequence of the identification codes in the first images, and sequencing the other part of the first images not containing the identification codes according to the sequence of the first images selected by a user, wherein the whole part of the first images not containing the identification codes is positioned behind the other part of the first images containing the identification codes.
6. The document generating method according to claim 5, wherein after the N first images are displayed in the first arrangement order in the first display interface, the method further comprises:
receiving a fifth input of adding J second images in the N first images by a user;
in response to the fifth input, adding and displaying each of the J second images to the N first images according to the identification codes in the J second images, and updating the first arrangement order;
Wherein J is a positive integer.
7. The document generating method according to claim 5, wherein after the N first images are displayed in the first arrangement order in the first display interface, the method further comprises:
Receiving a sixth input of dividing the first display interface into a first display area and a second display area by a user, and adjusting the order of the target images in the N first images, wherein the first display area is used for displaying the N first images, and the second display area is used for displaying the target images shifted out from the first order of the N first images;
And in response to the sixth input, adding and displaying the target image to the second order of the N first images, and updating the first arrangement order.
8. The document generating method according to claim 5, wherein said processing said N first images and generating said target document specifically comprises:
identifying the content in each first image in the N first images, and displaying K fragment files on a second display interface, wherein the fragment files are fragment content in each first image, and K is a positive integer;
Receiving a seventh input of dividing the second display interface into a third display area and a fourth display area by a user, and adjusting the order of the target fragment files in the K fragment files, wherein the third display area is used for displaying the K fragment files, and the fourth display area is used for displaying the target fragment files which are moved out from the first order of the K fragment files;
and responding to the seventh input, adding and displaying the target fragment files to the second order of the K fragment files, forming a second arrangement sequence of the K fragment files, and ordering the K fragment files according to the second arrangement sequence to generate the target document.
9. A document generating apparatus, the apparatus comprising:
A receiving unit for receiving a third input from a user selecting N first images from the M images;
a display unit configured to display the N first images in a first arrangement order in a first display interface in response to the third input, wherein the first arrangement order is determined by an order of identification codes in the N first images;
the receiving unit is further used for receiving a fourth input for generating a target document;
The processing unit is used for responding to the fourth input, processing the N first images and generating the target document, wherein the target document has an association relation with the first images, and the target document comprises identification contents of the N first images;
wherein M and N are positive integers, M is greater than or equal to N;
And when one part of the N first images contains the identification codes and the other part does not contain the identification codes, the display unit is further used for sorting the first images containing the identification codes according to the sequence of the identification codes in the first images and sorting the other part of the first images not containing the identification codes according to the sequence of the first images selected by a user, wherein the whole part of the first images not containing the identification codes is positioned behind the other part of the first images containing the identification codes.
10. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the document delivery method according to any one of claims 1 to 3 when executed by the processor, or the steps of the document generation method according to any one of claims 5 to 8 when executed by the processor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210017833.3A CN114356861B (en) | 2022-01-07 | 2022-01-07 | Document generation and sending method, device and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210017833.3A CN114356861B (en) | 2022-01-07 | 2022-01-07 | Document generation and sending method, device and electronic device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114356861A CN114356861A (en) | 2022-04-15 |
| CN114356861B true CN114356861B (en) | 2025-04-18 |
Family
ID=81107717
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210017833.3A Active CN114356861B (en) | 2022-01-07 | 2022-01-07 | Document generation and sending method, device and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114356861B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109981878A (en) * | 2017-12-28 | 2019-07-05 | 华为终端有限公司 | A kind of method and device of management of icons |
| CN112001312A (en) * | 2020-08-21 | 2020-11-27 | 深圳传音控股股份有限公司 | Document splicing method, device and storage medium |
| CN112187626A (en) * | 2020-09-30 | 2021-01-05 | 维沃移动通信(杭州)有限公司 | File processing method and device and electronic equipment |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3815371B2 (en) * | 2002-05-02 | 2006-08-30 | 日本電信電話株式会社 | Video-related information generation method and apparatus, video-related information generation program, and storage medium storing video-related information generation program |
| JP2005322060A (en) * | 2004-05-10 | 2005-11-17 | Fuji Xerox Co Ltd | Document image processor and document image processing system |
| JP4546277B2 (en) * | 2005-02-14 | 2010-09-15 | 株式会社リコー | Drawing management method and drawing management program |
| CN112818976B (en) * | 2021-01-29 | 2024-03-26 | 北京秒针人工智能科技有限公司 | Character determining method and device, electronic equipment and readable medium |
| CN113778277A (en) * | 2021-08-27 | 2021-12-10 | 维沃移动通信(杭州)有限公司 | Application icon management method and device and electronic equipment |
-
2022
- 2022-01-07 CN CN202210017833.3A patent/CN114356861B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109981878A (en) * | 2017-12-28 | 2019-07-05 | 华为终端有限公司 | A kind of method and device of management of icons |
| CN112001312A (en) * | 2020-08-21 | 2020-11-27 | 深圳传音控股股份有限公司 | Document splicing method, device and storage medium |
| CN112187626A (en) * | 2020-09-30 | 2021-01-05 | 维沃移动通信(杭州)有限公司 | File processing method and device and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114356861A (en) | 2022-04-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112486385A (en) | File sharing method and device, electronic equipment and readable storage medium | |
| CN101853127A (en) | Electronic reading device and its preview method | |
| CN112333084B (en) | File sending method and device and electronic equipment | |
| CN112449110B (en) | Image processing method and device and electronic equipment | |
| CN113641638B (en) | Application management method, device, electronic device and storage medium | |
| CN113918055A (en) | Message processing method and device and electronic equipment | |
| CN113849092A (en) | Content sharing method and device and electronic equipment | |
| CN113179205A (en) | Image sharing method and device and electronic equipment | |
| CN110377772A (en) | A kind of content search method, relevant device and computer readable storage medium | |
| CN113253883A (en) | Application interface display method and device and electronic equipment | |
| CN112399010B (en) | Page display method and device and electronic equipment | |
| CN116450008A (en) | Icons showing control method, apparatus, electronic equipment and medium | |
| JP2018097580A (en) | Information processing device and program | |
| CN113407075B (en) | Icon sorting method and device and electronic equipment | |
| CN113325986B (en) | Program control method, program control device, electronic device and readable storage medium | |
| CN114356861B (en) | Document generation and sending method, device and electronic device | |
| CN113590008A (en) | Chat message display method and device and electronic equipment | |
| CN113905125A (en) | Video display method, device and electronic device | |
| CN113805997A (en) | Information display method and device, electronic equipment and storage medium | |
| CN113037925A (en) | Information processing method, information processing apparatus, electronic device, and readable storage medium | |
| CN112698734A (en) | Candidate word display method and device and electronic equipment | |
| CN113873081B (en) | Method and device for sending associated image and electronic equipment | |
| US11301620B2 (en) | Annotation display method and terminal | |
| CN113362426B (en) | Image editing method and image editing device | |
| CN114416681B (en) | File sharing method and electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |