WO2022068803A1 - File processing method and apparatus, and electronic device - Google Patents
File processing method and apparatus, and electronic device Download PDFInfo
- Publication number
- WO2022068803A1 WO2022068803A1 PCT/CN2021/121268 CN2021121268W WO2022068803A1 WO 2022068803 A1 WO2022068803 A1 WO 2022068803A1 CN 2021121268 W CN2021121268 W CN 2021121268W WO 2022068803 A1 WO2022068803 A1 WO 2022068803A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- target
- identifier
- files
- electronic device
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 28
- 230000004044 response Effects 0.000 claims abstract description 26
- 238000000034 method Methods 0.000 claims description 55
- 238000012545 processing Methods 0.000 claims description 27
- 230000002194 synthesizing effect Effects 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 239000002131 composite material Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000001308 synthesis method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/10—Multimedia information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Definitions
- the present application belongs to the field of communication technologies, and in particular relates to a file processing method, device and electronic device.
- the inventor found at least the following problems in the prior art: when multiple electronic devices send or store the same multiple files, for example, friends send photos of a party to each other, then each electronic device It is necessary to select these files one by one, which is cumbersome.
- Embodiments of the present invention provide a file processing method, apparatus, and electronic device, so as to solve the problem of complicated operations when sending files among multiple electronic devices.
- an embodiment of the present invention provides a file processing method, which is applied to a first electronic device, and the method includes:
- a target identifier is displayed, and at least N files corresponding to the target identifier are sent to the second electronic device, where the target identifier includes the N file identifiers, and each of the file identifiers is used for indicating at least one of the at least N files;
- N ⁇ 2 N ⁇ 2
- an embodiment of the present invention provides another file processing method, which is applied to a second electronic device, and the method includes:
- the target identifier includes N file identifiers corresponding to at least N files, and each of the file identifiers is used to indicate at least one of the at least N files;
- the target identification is displayed.
- an embodiment of the present invention further provides a file processing apparatus, which is applied to the first electronic device, and the apparatus includes:
- the first receiving module is used for receiving the first input of the N file identifiers by the user;
- a sending module configured to display a target identifier in response to the first input, and send at least N files corresponding to the target identifier to the second electronic device, where the target identifier includes the N file identifiers, each of which is The file identifier is used to indicate at least one file among the at least N files;
- N ⁇ 2 N ⁇ 2
- an embodiment of the present invention further provides another file processing apparatus, which is applied to a second electronic device, and the apparatus includes:
- a third receiving module configured to receive a target identifier sent by the first electronic device, where the target identifier includes N file identifiers corresponding to at least N files, and each of the file identifiers is used to indicate a target identifier in the at least N files. at least one document;
- the third display module is used for displaying the target identification.
- an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor, when executed, implements the steps of the method as described in the first aspect or the second aspect.
- an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the implementation is as described in the first aspect or the second aspect steps of the method.
- an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the first aspect or the method described in the second aspect.
- a first input of N file identifiers by a user is received; in response to the first input, a target identifier is displayed, and at least N files corresponding to the target identifier are sent to the second electronic device, the The target identifier includes the N file identifiers, and each of the file identifiers is used to indicate at least one file among the at least N files; wherein, N ⁇ 2, and N is a positive integer. Since the N file identifiers are combined into the target identifier, the second electronic device can transmit at least N files by operating based on the target identifier, without the need to select the N files again, which can improve operational convenience.
- Fig. 1 is one of the flowcharts of the file processing method provided by the embodiment of the present application.
- FIGS. 2 to 5 are schematic interface diagrams of a first electronic device provided by an embodiment of the present application.
- FIG. 7 to 8 are schematic interface diagrams of a second electronic device provided by an embodiment of the present application.
- FIG. 9 is one of the structural diagrams of the file processing apparatus provided by the embodiment of the present application.
- FIG. 10 is the second structural diagram of the file processing apparatus provided by the embodiment of the present application.
- FIG. 11 is a structural diagram of an electronic device provided by an embodiment of the present application.
- the user selects multiple pictures on the display interfaces of multiple application programs of the first electronic device.
- the first electronic device adds the thumbnail of the picture selected by the user to the forwarding library.
- the electronic device When the user performs a sending operation, the electronic device combines the thumbnail images of multiple pictures in the forwarding library into one picture, and then sends the combined picture to the second electronic device.
- the full-screen preview displays each picture in the synthesized picture. If the second electronic device needs to forward or store the received picture, it can perform the operation based on the synthesized picture, so as to process the picture quickly.
- FIG. 1 is a flowchart of a file processing method provided by an embodiment of the present invention. As shown in Figure 1, it includes the following steps:
- Step 101 Receive a first input of N file identifiers by a user.
- the first input may be a selection input for N files, for example, the user performs a selection operation on multiple files in sequence.
- the first input may also be a confirmation operation performed according to the N files selected by the electronic device.
- the first input may be a click operation, a sliding operation, or a voice input, etc., which is not limited here. As shown in FIG. 2 , the user presses the picture and then performs an upward sliding operation.
- the user may operate the electronic device to activate a specific working mode, such as a "multi-image forwarding" mode.
- a specific working mode such as a "multi-image forwarding" mode.
- an icon of “multi-picture forwarding” is displayed on the electronic device, and the user operates the icon to trigger the electronic device to enter the multi-picture forwarding mode.
- the electronic device can further select a file, and send the file according to the implementation of the embodiments of the present application.
- Step 102 In response to the first input, display a target identifier, and send at least N files corresponding to the target identifier to the second electronic device, where the target identifier includes the N file identifiers, each of the file identifiers.
- the identification is used to indicate at least one file of the at least N files;
- N ⁇ 2 N ⁇ 2
- the electronic device in response to the first input, displays target identifiers including N file identifiers, and sends at least N files corresponding to the target identifiers to the second electronic device.
- the display target identifier includes:
- the N file identifiers are synthesized to obtain the target identifier
- the target identification is displayed.
- the first electronic device may first synthesize the N file identifiers to obtain the target identifier. Specifically, multiple file identifiers may be combined to form a target identifier, or a target identifier may be generated based on N file identifiers, where the target identifier includes N file identifiers. For example, as shown in FIG. 5 , the thumbnail 1, the thumbnail 2 and the thumbnail 3 are combined into one picture, and the combined picture is sent to the friend in the conversation interface.
- each of the N file identifiers may be a file identifier of a single file, or may be a synthesized file identifier.
- the four file identifiers include three file identifiers corresponding to three single files, and one file identifier synthesized from two sub-file identifiers, and the file identifier corresponds to the two sub-files.
- the electronic device can directly synthesize the four file identifiers to obtain a target identifier synthesized from the four file identifiers; it is also possible to first split the combined identifier into two sub-file identifiers, and then synthesize based on the split file identifiers to obtain a target identifier composed of two sub-file identifiers. 5 file IDs composite target IDs.
- the N file identifiers are combined into one target identifier, and when the user operates the target identifier, he can send at least N files corresponding to the N file identifiers combined with the target identifier. And when sending the target identification, the user can preview the file identification contained in the target identification based on the target identification.
- the file is a picture
- the thumbnails of multiple pictures are combined into one picture, and the user can preview the general content of each picture based on the picture
- the thumbnails of multiple documents can be combined into one picture.
- the thumbnail icons are combined into one icon, and the user can preview the general content of each file based on the icon, which can improve the preview and operation efficiency.
- the icon may include at least one of a character identification and a graphic identification.
- the second electronic device can operate based on the target identifier, thereby realizing forwarding or storage of the at least N files without The selection operation needs to be performed again for each file, which can improve the operation efficiency.
- the user may also perform a fourth input, and the fourth input may be a file sending operation, such as a click operation, a pressing operation, and the like.
- the fourth input it is also possible to select the object to be sent.
- the electronic device can respond to the operation and display an object list, and the user can quickly select the object to be sent based on the displayed object list, as shown in the figure 4 shown.
- Objects in the object list can be arranged in a specific order, such as selection time and frequency of historically selected objects, and can also be sorted according to the default sorting method.
- the combination of the N file identifiers to obtain the target identifier includes:
- the N file identifiers include a first file identifier synthesized from at least two sub-file identifiers, splitting the first file identifier to obtain the at least two sub-file identifiers;
- the other file identifiers are file identifiers other than the first file identifier among the N file identifiers.
- the N file identifiers include a synthesized file identifier, that is, a first file identifier
- the multiple sub-file identifiers synthesized with the first file identifier can be split first to obtain a single sub-file. ID, and then synthesizing based on the multiple sub-file IDs obtained by splitting and other file IDs.
- the user can roughly preview the content of the file based on the split sub-file identifier to reduce misoperation.
- the electronic device can further edit the split sub-file, such as deleting, moving the position, etc., which is convenient to operate.
- the method further includes:
- the display target identification includes:
- the target identification is displayed based on the edited second file identification.
- the first electronic device may display N file identifiers in the target area. Specifically, it may be displayed in sequence according to the sequence of the selection operations, or displayed simultaneously after N file identifiers are acquired.
- the user can perform an operation on the second file identifier among the N file identifiers in the target area, that is, the second input, so that the file corresponding to the second file identifier in the target area can be edited, such as deletion, location sorting, and the like.
- the second file identifier may include one or more file identifiers, so that one or more files in the target area can be edited, and the operation efficiency can be improved.
- the user can also operate the file identification on the selection interface, so as to realize the editing of the file in the target area. For example, the user slides up the four file identifiers in sequence on the file selection interface, and the electronic device displays the four file identifiers in the target area in response to the user's operation. The user slides the third file identifier to the right in the file selection interface again, and the electronic device deletes the file corresponding to the third file identifier displayed in the target area. In this way, the user can edit the files in the target area by operating in the selection interface, which is convenient to operate, and can improve the flexibility of the operation.
- the electronic device After editing the file identifiers in the target area, the electronic device synthesizes the file identifiers in the target area to obtain the target identifier.
- the synthesizing may be performed according to the arrangement order after editing, or the synthesizing order may be performed according to the order during the selection operation, which is not limited here.
- the file identifiers in the target area are edited based on the user's operation, and the edited file identifiers in the target area are synthesized, which can improve the operation efficiency and improve the operation flexibility.
- the method further includes:
- the third identifier is used to indicate the number of files corresponding to the file identifier in the target area.
- the preset area may be an interface where the N file identifiers are located.
- the user selects a file identifier on the interface, he can view the number of selected files at the same time.
- the preset area can be the area where the file identifier is located.
- the user can display the sequence number of the file identifier in the area where the file identifier is located according to the order of the file identifier selection, and the serial number is the selected file.
- the serial number of the identification that is, the number of files that have been selected.
- the number number of the files is displayed on each file selected.
- the number 1 can be displayed on the selected first file
- the number 2 can be displayed on the selected second file, as shown in Figure 2
- a number is displayed at the top left of each selected picture, according to the order in which the file IDs were selected. For unselected files, the number is not displayed, which is convenient for the user to confirm the selection status of the file.
- the above-mentioned preset area may also be another area other than the file identifier.
- a logo 11 of "forwarding library” is displayed in the picture selection interface, and the "forwarding library” corresponds to the target area. If the user operates the logo, the current interface can be jumped to the target area.
- a third logo (not shown in the figure) representing the number of files in the target area is displayed on the logo.
- the user can quickly check the number of selected files in the target area based on the third identifier, so as to easily confirm whether the current file is selected and prevent misoperation.
- the at least N files include files in at least two application programs; or the at least N files are files in a session interface associated with a target account, and the target account is in the first electronic The account logged in on the device.
- the user can select multiple file identifiers across applications, and does not need to manually store the file identifiers and then select them.
- the user may perform a selection operation on the identifier of the file to be sent, and the file is selected.
- a selection operation may be performed on the identifier of the file to be sent, and the file is selected.
- one or more file identifiers may be selected in the session interface, wherein the session interface may include one or more session interfaces.
- the session interface may include one or more session interfaces.
- account A logs in on the first electronic device
- the display interface of the first electronic device includes a first session interface between account A and account B, and a second session interface between account A and account C.
- the user selects multiple files on the first session interface
- the user selects multiple files on the second session interface, and the files selected in the above two session interfaces are stored in the same location.
- the first electronic device will store the files.
- the above selected files are simultaneously sent to the electronic device corresponding to the same account, which can improve the convenience of operation.
- the at least N files are at least N pictures
- the N file identifiers are N thumbnails
- the display target identifiers include:
- the target picture is displayed.
- the image synthesis method may be to synthesize the thumbnails of the images, so that the synthesized multiple thumbnails are one image, that is, the target image.
- the arrangement of the multiple thumbnails may be set by a user operation or preset by an electronic device, which is not limited here. In this way, repeated operations when multiple pictures are forwarded between multiple electronic devices can be reduced.
- the thumbnails of the picture 1, the picture 2 and the picture 3 are synthesized to obtain the target picture 12 including the thumbnails of the picture 1, the picture 2 and the picture 3.
- the first electronic device enables a multi-picture forwarding mode, in which pictures can be selected and the user can select pictures across applications and across session interfaces.
- the user presses the picture and slides upwards. If the sliding distance is greater than the preset distance, the picture is stored in the forwarding library, that is, the target area. If the user operates the logo 11 of the forwarding library, the interface Jump to the target area. At this time, an icon 11 of the forwarding library is displayed on the picture, and a digital mark is displayed on the icon 11 of the forwarding library or on the picture, and the mark is used to indicate the number of pictures stored in the forwarding library. Users can edit and organize pictures in the forwarding library. When the user presses the picture on the current interface and performs a horizontal sliding operation, and the sliding operation is greater than the preset distance, the picture is deleted from the forwarding library.
- the pictures in the forwarding library can be automatically saved to the local library, specifically, the pictures can be saved in the form of composite pictures, or they can be saved in the form of single pictures.
- the electronic device exits the picture selection mode, and the object list can be further displayed at this time. As shown in FIG. 4 , the user can select the object to be sent based on the object list. After the user selects the object to be sent, multiple pictures are sent as a combined picture, such as the target picture 12 shown in FIG. 5 .
- the first electronic device synthesizes multiple file identifiers and sends them to the second electronic device, which facilitates the second electronic device to process multiple files and reduces repeated operations on multiple file identifiers.
- FIG. 6 is a flowchart of a file processing method provided by an embodiment of the present invention. As shown in Figure 6, it includes the following steps:
- Step 601 Receive a target identifier sent by a first electronic device, where the target identifier includes N file identifiers corresponding to at least N files, and each of the file identifiers is used to indicate at least one file among the at least N files.
- the target identifier is an identifier obtained by synthesizing N file identifiers by the first electronic device.
- the target identifier reference may be made to the description on the side of the first electronic device, which will not be repeated here.
- Step 602 Display the target identifier.
- the user can preview the contents of the N file identifiers based on the target identifier.
- the second electronic device may further display at least N files corresponding to the target identifier, or display at least N files based on a user's operation.
- each image is expanded and displayed in sequence; if the target file is an identifier of multiple files, the content of each file is displayed in full screen in sequence.
- the user can operate the received target identifier to trigger the electronic device to display the content of the file.
- the method further includes:
- a file corresponding to the third file identifier is displayed, or the at least N files are displayed.
- the user can operate any file identifier in the target identifiers. Taking the operation on the third file identifier as an example, the user can perform a third input on the third file identifier, for example, a click operation, a sliding operation Or press operation, etc.
- the second electronic device displays the file corresponding to the third file identifier, or displays at least N files corresponding to the target identifier.
- the user can also operate the target identifier, and the second electronic device responds to the user's operation and performs at least one of the following: storing the at least N files, sending the at least N files, and selecting the at least N files At least one file is deleted, and at least one file is added to the at least N files.
- the second electronic device may store at least N files corresponding to the target identifier in a local or other storage space, or split multiple files corresponding to the target identifier for storage; and may also forward the target identifier to other electronic devices.
- the target identification is processed as a whole, which can reduce the user's repeated selection operations on multiple files.
- the electronic device can also delete at least one file in the files corresponding to the target identification, after deleting the at least one file, the file identification in the target identification is reduced, and the number of files corresponding to the identification is reduced; or At least one file identification is added to the target identification, the file identification in the increased target identification is increased, and the corresponding number of files is correspondingly increased.
- the added picture may be added from a local picture, or added from an interface of a running application, which is not limited here.
- the target is identified as a picture composed of 4 thumbnails. If the user operates the target identification, the electronic device deletes one of the thumbnails, and the target identification is a picture composed of 3 thumbnails; if the electronic device adds a thumbnail, the target identification is a picture composed of 5 thumbnails .
- the target identifier is a picture obtained by synthesizing N thumbnails; after the display of the target identifier, the method further includes:
- the thumbnails of at least N pictures can be combined, so as to be displayed as one picture, which is convenient for the user to preview quickly and facilitate the operation of the user.
- each picture can be expanded and displayed, for example, each picture can be displayed in full screen in turn.
- the user's operations can be reduced on the basis of facilitating the user to view the picture.
- the user operates the synthesized picture, and the electronic device enters the interface of full-screen preview, and the previewed picture is each picture before synthesis.
- Users can slide left and right to preview each picture, and multiple pictures are displayed horizontally in sequence, as shown in Figure 7; or by sliding up and down, multiple pictures are displayed vertically in sequence, as shown in Figure 8.
- swiping to the last one automatically exit browsing. Press and hold the current picture in the switch to perform corresponding operations on the current picture, such as saving, editing, sending, etc.
- the second electronic device can perform processing based on the synthesized picture, and does not need to perform multiple selection operations again, which can reduce user operations and improve operational convenience.
- the execution body may be a file processing apparatus, or a control module in the file processing apparatus for executing the method for processing a loaded file.
- the file processing method provided by the embodiment of the present application is described by taking the file processing apparatus executing the method for processing a loaded file as an example.
- FIG. 9 is a structural diagram of a file processing apparatus provided by an embodiment of the present invention, which is applied to a first electronic device.
- the file processing apparatus 900 includes:
- the first receiving module 901 is used to receive the first input of the N file identifiers by the user;
- a sending module 902 is configured to display a target identifier in response to the first input, and send at least N files corresponding to the target identifier to the second electronic device, where the target identifier includes the N file identifiers, each The file identifier is used to indicate at least one file among the at least N files;
- N ⁇ 2 N ⁇ 2
- the sending module includes:
- a first synthesis submodule configured to synthesize the N file identifiers to obtain the target identifier
- the first display sub-module is used to display the target identifier.
- the synthesizing submodule includes:
- a splitting unit configured to split the first file identifier to obtain the at least two sub-file identifiers when the N file identifiers include a first file identifier synthesized from at least two sub-file identifiers;
- a synthesizing unit for synthesizing the at least two sub-file identifiers and other file identifiers to obtain the target identifier
- the other file identifiers are file identifiers other than the first file identifier among the N file identifiers.
- the device further includes:
- a first display module configured to display the N file identifiers in the target area in response to the first input
- a second receiving module configured to receive a second input from a user to a second file identifier in the N file identifiers in the target area;
- an editing module configured to edit the second file identifier in response to the second input
- the sending module is specifically used for:
- the target identification is displayed based on the edited second file identification.
- the device further includes:
- the second display module is used for displaying the third logo in the preset area
- the third identifier is used to indicate the number of files corresponding to the file identifier in the target area.
- the at least N files include files in at least two application programs; or the at least N files are files in a session interface associated with a target account, and the target account is in the first electronic The account logged in on the device.
- the at least N files are at least N pictures, and the N files are identified as N thumbnails;
- the sending module includes:
- an acquisition submodule for acquiring the N thumbnails corresponding to the at least N pictures
- a second synthesizing submodule configured to synthesize the N thumbnails to obtain a target picture including the N thumbnails
- the second display sub-module is used to display the target picture.
- the file processing apparatus 900 can implement each process implemented by the first electronic device in the above method embodiments and achieve the same beneficial effects, and to avoid repetition, details are not described here.
- FIG. 10 is a structural diagram of a file processing apparatus provided by an embodiment of the present invention, which is applied to a second electronic device.
- the file processing apparatus 1000 includes:
- the third receiving module 1001 is configured to receive a target identifier sent by the first electronic device, where the target identifier includes N file identifiers corresponding to at least N files, and each of the file identifiers is used to indicate that among the at least N files at least one of the documents;
- the third display module 1002 is configured to display the target identifier.
- the device further includes:
- the fourth receiving module for receiving the third input of the third file identification in the target identification by the user
- the fourth display module is configured to, in response to the third input, display the file corresponding to the third file identifier, or display the at least N files.
- the file processing apparatus 1000 can implement each process implemented by the second electronic device in the foregoing method embodiments and achieve the same beneficial effects, and to avoid repetition, details are not described here.
- the file processing apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal.
- the apparatus may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
- UMPC ultra-mobile personal computer
- PDA personal digital assistant
- non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
- the file processing apparatus in this embodiment of the present application may be an apparatus having an operating system.
- the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
- the file processing apparatus provided in the embodiment of the present application can implement each process implemented by the file processing apparatus in the method embodiment corresponding to the first electronic device side corresponding to FIG. 1 and achieve the same beneficial effects, or realize the second electronic device side corresponding to FIG. 6 .
- the various processes implemented by the file processing apparatus in the method embodiment of the present invention and achieving the same beneficial effects will not be repeated here in order to avoid repetition.
- an embodiment of the present application further provides an electronic device, including a processor, a memory, a program or an instruction stored in the memory and executable on the processor, and the program or instruction is executed by the processor to implement the above.
- an electronic device including a processor, a memory, a program or an instruction stored in the memory and executable on the processor, and the program or instruction is executed by the processor to implement the above.
- the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
- FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110, etc. part.
- the electronic device 1100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1110 through a power management system, so that the power management system can manage charging, discharging, and power consumption. consumption management and other functions.
- a power source such as a battery
- the structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device.
- the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
- the processor 1110 is used for:
- the control display unit 1106 displays a target identifier in response to the first input, and sends at least N files corresponding to the target identifier to the second electronic device, where the target identifier includes the N file identifiers, each of the The file identifier is used to indicate at least one file among the at least N files;
- N ⁇ 2 N ⁇ 2
- the processor 1110 controls the display unit 1106 to execute the display target identification, including:
- the N file identifiers are synthesized to obtain the target identifier
- the target identification is displayed.
- the processor 1110 controls the display unit 1106 to perform the combination of the N file identifiers to obtain the target identifier, including:
- the N file identifiers include a first file identifier synthesized from at least two sub-file identifiers, splitting the first file identifier to obtain the at least two sub-file identifiers;
- the other file identifiers are file identifiers other than the first file identifier among the N file identifiers
- processor 1110 is further configured to:
- Controlling the display unit 1106 to perform the display target identification includes:
- the target identification is displayed based on the edited second file identification.
- processor 1110 is further configured to:
- the third identifier is used to indicate the number of files corresponding to the file identifiers in the target area
- the at least N files include files in at least two application programs; or the at least N files are files in a session interface associated with a target account, and the target account is in the first electronic The account logged in on the device.
- the at least N files are at least N pictures, and the N files are identified as N thumbnails; the processor 1110 controls the display unit 1106 to execute the display target identification, including:
- the target picture is displayed.
- the processor 1110 is used for:
- the display unit 1106 is controlled to display the target identification.
- processor 1110 is further configured to:
- a file corresponding to the third file identifier is displayed, or the at least N files are displayed.
- the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042. Such as camera) to obtain still pictures or video image data for processing.
- the display unit 1106 may include a display panel 11061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 1107 includes a touch panel 11071 and other input devices 11072 .
- the touch panel 11071 is also called a touch screen.
- the touch panel 11071 may include two parts, a touch detection device and a touch controller.
- Other input devices 11072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.
- Memory 1109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
- the processor 1110 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1110.
- the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, realizes the file on the first electronic device side or the second electronic device side.
- the various processes of the processing method embodiments can achieve the same technical effect, and are not repeated here to avoid repetition.
- the processor is the processor in the electronic device described in the foregoing embodiments.
- the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
- An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the above-mentioned first electronic device side or
- the processor is used to run a program or an instruction to implement the above-mentioned first electronic device side or
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
- modules, units, sub-modules, sub-units, etc. can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, for in other electronic units or combinations thereof that perform the functions described herein.
- ASIC Application Specific Integrated Circuits
- DSP Digital Signal Processing
- DSP Device digital signal processing equipment
- PLD Programmable Logic Device
- Field-Programmable Gate Array Field-Programmable Gate Array
- FPGA Field-Programmable Gate Array
- the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
- a storage medium such as ROM/RAM, magnetic disk, CD-ROM
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Disclosed are a file processing method and apparatus, and an electronic device. The file processing method comprises: receiving a first input of a user for N file identifiers; and in response to the first input, displaying a target identifier, and sending, to a second electronic device, at least N files corresponding to the target identifier, wherein the target identifier comprises the N file identifiers, and each of the file identifiers is used for indicating at least one of the at least N files, where N ≥ 2, and N is a positive integer.
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年9月30日在中国提交的中国专利申请号No.202011057069.X的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202011057069.X filed in China on September 30, 2020, the entire contents of which are incorporated herein by reference.
本申请属于通信技术领域,具体涉及一种文件处理方法、装置及电子设备。The present application belongs to the field of communication technologies, and in particular relates to a file processing method, device and electronic device.
随着信息技术的发展,通过电子设备进行信息交互已经成为人们常用的社交方式。在日常生活中,用户通常会通过社交软件向他人发送或者接收文件,如,发送照片、视频等文件。在用户向他人发送多个文件时,用户需要在文件的显示界面依次选择多个文件,然后进行发送。With the development of information technology, information interaction through electronic devices has become a common social way for people. In daily life, users usually send or receive files to others through social software, such as sending photos, videos and other files. When a user sends multiple files to others, the user needs to select multiple files in sequence on the file display interface, and then send them.
在上述过程中,发明人发现现有技术中至少存在以下问题:当多个电子设备对相同的多个文件进行发送或存储时,例如,好友之间相互发送聚会的照片,那么每个电子设备需要一一对这些文件进行选择操作,操作繁琐。In the above process, the inventor found at least the following problems in the prior art: when multiple electronic devices send or store the same multiple files, for example, friends send photos of a party to each other, then each electronic device It is necessary to select these files one by one, which is cumbersome.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种文件处理方法、装置及电子设备,以解决在多个电子设备之间发送文件时,操作繁琐的问题。Embodiments of the present invention provide a file processing method, apparatus, and electronic device, so as to solve the problem of complicated operations when sending files among multiple electronic devices.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,本发明实施例提供了一种文件处理方法,应用于第一电子设备,该方法包括:In a first aspect, an embodiment of the present invention provides a file processing method, which is applied to a first electronic device, and the method includes:
接收用户对N个文件标识的第一输入;receiving the first input of the N file identifiers by the user;
响应于所述第一输入,显示目标标识,并向第二电子设备发送所述目标标识对应的至少N个文件,所述目标标识包括所述N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;In response to the first input, a target identifier is displayed, and at least N files corresponding to the target identifier are sent to the second electronic device, where the target identifier includes the N file identifiers, and each of the file identifiers is used for indicating at least one of the at least N files;
其中,N≥2,且N为正整数。Among them, N≥2, and N is a positive integer.
第二方面,本发明实施例提供了另一种文件处理方法,应用于第二电子设备,该方法包括:In a second aspect, an embodiment of the present invention provides another file processing method, which is applied to a second electronic device, and the method includes:
接收第一电子设备发送的目标标识,所述目标标识包括至少N个文件对应的N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;receiving a target identifier sent by the first electronic device, where the target identifier includes N file identifiers corresponding to at least N files, and each of the file identifiers is used to indicate at least one of the at least N files;
显示所述目标标识。The target identification is displayed.
第三方面,本发明实施例还提供一种文件处理装置,应用于第一电子设备,该装置包括:In a third aspect, an embodiment of the present invention further provides a file processing apparatus, which is applied to the first electronic device, and the apparatus includes:
第一接收模块,用于接收用户对N个文件标识的第一输入;The first receiving module is used for receiving the first input of the N file identifiers by the user;
发送模块,用于响应于所述第一输入,显示目标标识,并向第二电子设备发送所述目标标识对应的至少N个文件,所述目标标识包括所述N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;A sending module, configured to display a target identifier in response to the first input, and send at least N files corresponding to the target identifier to the second electronic device, where the target identifier includes the N file identifiers, each of which is The file identifier is used to indicate at least one file among the at least N files;
其中,N≥2,且N为正整数。Among them, N≥2, and N is a positive integer.
第四方面,本发明实施例还提供另一种文件处理装置,应用于第二电子设备,该装置包括:In a fourth aspect, an embodiment of the present invention further provides another file processing apparatus, which is applied to a second electronic device, and the apparatus includes:
第三接收模块,用于接收第一电子设备发送的目标标识,所述目标标识包括至少N个文件对应的N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;A third receiving module, configured to receive a target identifier sent by the first electronic device, where the target identifier includes N file identifiers corresponding to at least N files, and each of the file identifiers is used to indicate a target identifier in the at least N files. at least one document;
第三显示模块,用于显示所述目标标识。The third display module is used for displaying the target identification.
第五方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面或第二方面所述的方法的步骤。In a fifth aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor, when executed, implements the steps of the method as described in the first aspect or the second aspect.
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面所述的方法的步骤。In a sixth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the implementation is as described in the first aspect or the second aspect steps of the method.
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令, 实现如第一方面或第二方面所述的方法。In a seventh aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the first aspect or the method described in the second aspect.
本申请实施例中,接收用户对N个文件标识的第一输入;响应于所述第一输入,显示目标标识,并向第二电子设备发送所述目标标识对应的至少N个文件,所述目标标识包括所述N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;其中,N≥2,且N为正整数。由于N个文件标识合成为目标标识,第二电子设备基于目标标识进行操作可以实现对至少N个文件的发送,而不需要再次对N个文件进行选择操作,能够提高操作便捷性。In the embodiment of the present application, a first input of N file identifiers by a user is received; in response to the first input, a target identifier is displayed, and at least N files corresponding to the target identifier are sent to the second electronic device, the The target identifier includes the N file identifiers, and each of the file identifiers is used to indicate at least one file among the at least N files; wherein, N≧2, and N is a positive integer. Since the N file identifiers are combined into the target identifier, the second electronic device can transmit at least N files by operating based on the target identifier, without the need to select the N files again, which can improve operational convenience.
图1是本申请实施例提供的文件处理方法的流程图之一;Fig. 1 is one of the flowcharts of the file processing method provided by the embodiment of the present application;
图2至图5是本申请实施例提供的第一电子设备的界面示意图;2 to 5 are schematic interface diagrams of a first electronic device provided by an embodiment of the present application;
图6是本申请实施例提供的文件处理方法的流程图之二;6 is the second flowchart of the file processing method provided by the embodiment of the present application;
图7至图8是本申请实施例提供的第二电子设备的界面示意图;7 to 8 are schematic interface diagrams of a second electronic device provided by an embodiment of the present application;
图9是本申请实施例提供的文件处理装置的结构图之一;FIG. 9 is one of the structural diagrams of the file processing apparatus provided by the embodiment of the present application;
图10是本申请实施例提供的文件处理装置的结构图之二;FIG. 10 is the second structural diagram of the file processing apparatus provided by the embodiment of the present application;
图11是本申请实施例提供的电子设备的结构图。FIG. 11 is a structural diagram of an electronic device provided by an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的 文件处理方法进行详细地说明。The file processing method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
以本申请实施例中的文件为图片,且第一电子设备需要向第二电子设备发送多个图片为例,对本申请实施例进行举例说明。需要注意的是,该举例说明并不构成为实施方式的具体限制。Taking the file in the embodiment of the present application as a picture, and the first electronic device needs to send a plurality of pictures to the second electronic device as an example, the embodiment of the present application will be described as an example. It should be noted that this illustration does not constitute a specific limitation of the embodiment.
用户在第一电子设备的多个应用程序的显示界面对多个图片进行选择操作。第一电子设备响应用户的操作,将用户选择的图片的缩略图加入转发库。在用户进行发送操作时,电子设备将转发库内的多个图片的缩略图合成为一张图片后,向第二电子设备发送合成的一张图片。The user selects multiple pictures on the display interfaces of multiple application programs of the first electronic device. In response to the user's operation, the first electronic device adds the thumbnail of the picture selected by the user to the forwarding library. When the user performs a sending operation, the electronic device combines the thumbnail images of multiple pictures in the forwarding library into one picture, and then sends the combined picture to the second electronic device.
第二电子设备接收到该合成的图片后,全屏预览显示合成后的图片中的每张图片。若第二电子设备需要对接收到的图片进行转发或存储,可以基于合成后的图片进行操作,便于快速对图片进行处理。After the second electronic device receives the synthesized picture, the full-screen preview displays each picture in the synthesized picture. If the second electronic device needs to forward or store the received picture, it can perform the operation based on the synthesized picture, so as to process the picture quickly.
为了进一步了解本发明实施例,以下分别从第一电子设备和第二电子设备的角度对本申请实施例进行描述。In order to further understand the embodiments of the present invention, the embodiments of the present application are described below from the perspectives of the first electronic device and the second electronic device, respectively.
第一电子设备侧的文件处理方法可以参见图1,图1是本发明实施例提供的文件处理方法的流程图。如图1所示,包括以下步骤:For a file processing method on the side of the first electronic device, reference may be made to FIG. 1 , which is a flowchart of a file processing method provided by an embodiment of the present invention. As shown in Figure 1, it includes the following steps:
步骤101、接收用户对N个文件标识的第一输入。Step 101: Receive a first input of N file identifiers by a user.
其中,第一输入可以是对N个文件的选择输入,例如,用户依次对多个文件进行选择操作。第一输入还可以是根据电子设备选择的N个文件进行的确认操作。第一输入具体可以是点击操作、滑动操作或者是语音输入等,此处不作限定。如图2所示,用户对图片按压然后进行向上滑动操作。The first input may be a selection input for N files, for example, the user performs a selection operation on multiple files in sequence. The first input may also be a confirmation operation performed according to the N files selected by the electronic device. Specifically, the first input may be a click operation, a sliding operation, or a voice input, etc., which is not limited here. As shown in FIG. 2 , the user presses the picture and then performs an upward sliding operation.
在用户进行第一输入之前,用户可以对电子设备进行操作,以启动特定的工作模式,如“多图转发”模式。如图3所示,电子设备上显示“多图转发”的图标,用户对该图标进行操作,则可以触发电子设备进入多图转发模式。在该特定的工作模式下,电子设备可以进一步选择文件,并按照本申请实施例的实施方式对文件进行发送处理。Before the user makes the first input, the user may operate the electronic device to activate a specific working mode, such as a "multi-image forwarding" mode. As shown in FIG. 3 , an icon of “multi-picture forwarding” is displayed on the electronic device, and the user operates the icon to trigger the electronic device to enter the multi-picture forwarding mode. In this specific working mode, the electronic device can further select a file, and send the file according to the implementation of the embodiments of the present application.
步骤102、响应于所述第一输入,显示目标标识,并向第二电子设备发送所述目标标识对应的至少N个文件,所述目标标识包括所述N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;Step 102: In response to the first input, display a target identifier, and send at least N files corresponding to the target identifier to the second electronic device, where the target identifier includes the N file identifiers, each of the file identifiers. The identification is used to indicate at least one file of the at least N files;
其中,N≥2,且N为正整数。Among them, N≥2, and N is a positive integer.
在此步骤中,电子设备响应第一输入,显示包括N个文件标识的目标标识,并向第二电子设备发送目标标识对应的至少N个文件。In this step, in response to the first input, the electronic device displays target identifiers including N file identifiers, and sends at least N files corresponding to the target identifiers to the second electronic device.
可选的,所述显示目标标识,包括:Optionally, the display target identifier includes:
对所述N个文件标识进行合成,得到所述目标标识;The N file identifiers are synthesized to obtain the target identifier;
显示所述目标标识。The target identification is displayed.
第一电子设备可以先将N个文件标识进行合成得到目标标识。具体可以是将多个文件标识进行拼合形成目标标识,或者是基于N个文件标识生成目标标识,该目标标识包括N个文件标识。例如,如图5所示,将缩略图1、缩略图2和缩略图3拼合为一张图片,并在会话界面中向好友发送该拼合的图片。The first electronic device may first synthesize the N file identifiers to obtain the target identifier. Specifically, multiple file identifiers may be combined to form a target identifier, or a target identifier may be generated based on N file identifiers, where the target identifier includes N file identifiers. For example, as shown in FIG. 5 , the thumbnail 1, the thumbnail 2 and the thumbnail 3 are combined into one picture, and the combined picture is sent to the friend in the conversation interface.
其中,N个文件标识中的每个文件标识可以是单个文件的文件标识,还可以是已合成的文件标识。例如,4个文件标识中包括3个单个文件对应的3个文件标识,以及1个由两个子文件标识合成的文件标识,该文件标识对应两个子文件。电子设备可以直接对4个文件标识进行合成,得到由4个文件标识合成的目标标识;还可以先将合成标识拆分为2个子文件标识后,基于拆分后的文件标识进行合成,得到由5个文件标识合成的目标标识。Wherein, each of the N file identifiers may be a file identifier of a single file, or may be a synthesized file identifier. For example, the four file identifiers include three file identifiers corresponding to three single files, and one file identifier synthesized from two sub-file identifiers, and the file identifier corresponds to the two sub-files. The electronic device can directly synthesize the four file identifiers to obtain a target identifier synthesized from the four file identifiers; it is also possible to first split the combined identifier into two sub-file identifiers, and then synthesize based on the split file identifiers to obtain a target identifier composed of two sub-file identifiers. 5 file IDs composite target IDs.
这样,N个文件标识合成为一个目标标识,用户在对目标标识进行操作时,能够对合成目标标识的N个文件标识对应的至少N个文件进行发送。且在发送目标标识时,用户基于目标标识可以预览该目标标识内包含的文件标识。在文件为图片的情况下,将多个图片的缩略图拼合成一张图片,用户基于该图片可以预览每个图片的大致内容;在文件为文档的情况下,则可以将多个文档的缩略图标拼合为一个图标,用户基于该图标可以预览每个文件的大致内容,能够提高预览和操作效率。其中,该图标可以包括文字标识和图形标识中的至少一项。In this way, the N file identifiers are combined into one target identifier, and when the user operates the target identifier, he can send at least N files corresponding to the N file identifiers combined with the target identifier. And when sending the target identification, the user can preview the file identification contained in the target identification based on the target identification. When the file is a picture, the thumbnails of multiple pictures are combined into one picture, and the user can preview the general content of each picture based on the picture; when the file is a document, the thumbnails of multiple documents can be combined into one picture. The thumbnail icons are combined into one icon, and the user can preview the general content of each file based on the icon, which can improve the preview and operation efficiency. Wherein, the icon may include at least one of a character identification and a graphic identification.
由于至少N个文件是基于对合成的目标标识进行操作而发送的,第二电子设备在接收到目标标识后,可以基于目标标识进行操作,从而实现对至少N个文件的转发或者存储,而不需要对每个文件再次进行选择操作,能够提高操作效率。Since the at least N files are sent based on the operation on the synthesized target identifier, after receiving the target identifier, the second electronic device can operate based on the target identifier, thereby realizing forwarding or storage of the at least N files without The selection operation needs to be performed again for each file, which can improve the operation efficiency.
在接收第一输入后,用户还可以进行第四输入,第四输入可以是对文件 的发送操作,例如,点击操作、按压操作等。在进行第四输入的过程中,还可以选择发送的对象。After receiving the first input, the user may also perform a fourth input, and the fourth input may be a file sending operation, such as a click operation, a pressing operation, and the like. In the process of making the fourth input, it is also possible to select the object to be sent.
例如,用户对步骤101中所述“多图转发”模式的图标进行模式关闭操作后,电子设备可以响应该操作,显示对象列表,用户可以基于显示的对象列表快速选择需要发送的对象,如图4所示。对象列表中的对象可以按照特定顺序排列,如按照历史选择对象的选择时间、频率等,还可以根据默认排序方式排序。For example, after the user performs a mode closing operation on the icon of the "multi-image forwarding" mode described in step 101, the electronic device can respond to the operation and display an object list, and the user can quickly select the object to be sent based on the displayed object list, as shown in the figure 4 shown. Objects in the object list can be arranged in a specific order, such as selection time and frequency of historically selected objects, and can also be sorted according to the default sorting method.
可选的,所述对所述N个文件标识进行合成,得到所述目标标识,包括:Optionally, the combination of the N file identifiers to obtain the target identifier includes:
在所述N个文件标识中包括由至少两个子文件标识合成的第一文件标识的情况下,对所述第一文件标识进行拆分得到所述至少两个子文件标识;In the case where the N file identifiers include a first file identifier synthesized from at least two sub-file identifiers, splitting the first file identifier to obtain the at least two sub-file identifiers;
对所述至少两个子文件标识和其他文件标识进行合成,得到所述目标标识;Synthesize the at least two sub-file identifiers and other file identifiers to obtain the target identifier;
所述其他文件标识为所述N个文件标识中除所述第一文件标识之外的文件标识。The other file identifiers are file identifiers other than the first file identifier among the N file identifiers.
在该实施方式中,在N个文件标识中包括已合成的文件标识,即第一文件标识的情况下,可以先将合成第一文件标识的多个子文件标识进行拆分,得到单个的子文件标识,然后基于拆分得到的多个子文件标识和其他文件标识进行合成。用户可以基于拆分后的子文件标识对文件的内容进行大致预览,减少误操作。In this embodiment, when the N file identifiers include a synthesized file identifier, that is, a first file identifier, the multiple sub-file identifiers synthesized with the first file identifier can be split first to obtain a single sub-file. ID, and then synthesizing based on the multiple sub-file IDs obtained by splitting and other file IDs. The user can roughly preview the content of the file based on the split sub-file identifier to reduce misoperation.
另外,在对子文件标识进行拆分后,电子设备还可以进一步对拆分后的子文件进行编辑,如删除、移动位置等,操作便捷。In addition, after the identification of the sub-file is split, the electronic device can further edit the split sub-file, such as deleting, moving the position, etc., which is convenient to operate.
可选的,所述接收用户对N个文件标识的第一输入之后,所述方法还包括:Optionally, after receiving the first input of the N file identifiers by the user, the method further includes:
响应于所述第一输入,在目标区域显示所述N个文件标识;In response to the first input, displaying the N file identifiers in the target area;
接收用户对所述目标区域中的所述N个文件标识中的第二文件标识的第二输入;receiving a second input from a user to a second file identifier in the N file identifiers in the target area;
响应于所述第二输入,对所述第二文件标识进行编辑;in response to the second input, editing the second file identification;
所述显示目标标识,包括:The display target identification includes:
基于编辑后的所述第二文件标识,显示所述目标标识。The target identification is displayed based on the edited second file identification.
在该实施方式中,在用户选择N个文件标识后,第一电子设备可以在目标区域内显示N个文件标识。具体可以是根据选择操作的顺序依次显示或者是在获取N个文件标识之后同时显示。In this embodiment, after the user selects N file identifiers, the first electronic device may display N file identifiers in the target area. Specifically, it may be displayed in sequence according to the sequence of the selection operations, or displayed simultaneously after N file identifiers are acquired.
用户可以在目标区域中对N个文件标识中的第二文件标识进行操作,即第二输入,则可以实现对目标区域内的第二文件标识对应的文件进行编辑,如删除、位置排序等。其中,第二文件标识可以包括一个或者多个文件标识,从而能够对目标区域内的一个或者多个文件进行编辑,能够提高操作效率。The user can perform an operation on the second file identifier among the N file identifiers in the target area, that is, the second input, so that the file corresponding to the second file identifier in the target area can be edited, such as deletion, location sorting, and the like. Wherein, the second file identifier may include one or more file identifiers, so that one or more files in the target area can be edited, and the operation efficiency can be improved.
另外,用户还可以在选择界面对文件标识进行操作,从而实现对目标区域内的文件进行编辑。例如,用户在文件选择界面对四个文件标识依次进行向上滑动操作,电子设备响应用户的操作,在目标区域显示该四个文件标识。用户再次在文件选择界面中对其中的第三个文件标识进行向右滑动操作,则电子设备将在目标区域内显示的第三个文件标识对应的文件删除。这样,用户通过在选择界面中进行操作,实现对目标区域内的文件进行编辑,操作便捷,能够提高操作的灵活性。In addition, the user can also operate the file identification on the selection interface, so as to realize the editing of the file in the target area. For example, the user slides up the four file identifiers in sequence on the file selection interface, and the electronic device displays the four file identifiers in the target area in response to the user's operation. The user slides the third file identifier to the right in the file selection interface again, and the electronic device deletes the file corresponding to the third file identifier displayed in the target area. In this way, the user can edit the files in the target area by operating in the selection interface, which is convenient to operate, and can improve the flexibility of the operation.
在对目标区域内的文件标识进行编辑后,电子设备将目标区域内的文件标识进行合成,得到目标标识。在对目标区域内的文件标识进行合成时,可以按照编辑后的排列顺序进行合成,或者是按照选择操作时的顺序进行合成,此处不作限定。After editing the file identifiers in the target area, the electronic device synthesizes the file identifiers in the target area to obtain the target identifier. When synthesizing the file identifiers in the target area, the synthesizing may be performed according to the arrangement order after editing, or the synthesizing order may be performed according to the order during the selection operation, which is not limited here.
该实施方式,基于用户的操作对目标区域内的文件标识进行编辑,并将编辑后的目标区域内的文件标识进行合成,能够提高操作效率,且提高操作灵活性。In this embodiment, the file identifiers in the target area are edited based on the user's operation, and the edited file identifiers in the target area are synthesized, which can improve the operation efficiency and improve the operation flexibility.
可选的,所述在目标区域显示所述N个文件标识之后,所述方法还包括:Optionally, after the N file identifiers are displayed in the target area, the method further includes:
在预设区域内显示第三标识;Display the third logo in the preset area;
所述第三标识用于指示所述目标区域中的文件标识对应的文件的数量。The third identifier is used to indicate the number of files corresponding to the file identifier in the target area.
其中,预设区域可以是N个文件标识所在的界面,用户在该界面选择文件标识时,能够同时查看已选择文件的数量。The preset area may be an interface where the N file identifiers are located. When the user selects a file identifier on the interface, he can view the number of selected files at the same time.
具体地,预设区域可以是文件标识所在的区域,用户在每选择一个文件标识时,可以根据文件标识选择的顺序,在该文件标识所在的区域显示该文件标识的序号,该序号为选择文件标识的序号,也就是已选择文件的数量。 例如,在用户选择文件的过程中,在选择的每个文件上显示文件的数量编号。在选择第一个文件时,可以在已选择的第一个文件上显示编号1,在选择第二个文件时,可以在已选择的第二个文件上显示编号2,如图2所示,根据选择文件标识的顺序,在每个选择的图片的左上方显示编号。而对于未选择的文件则不显示编号,便于用户确认该文件的选择状态。Specifically, the preset area can be the area where the file identifier is located. When the user selects a file identifier, the user can display the sequence number of the file identifier in the area where the file identifier is located according to the order of the file identifier selection, and the serial number is the selected file. The serial number of the identification, that is, the number of files that have been selected. For example, in the process of the user selecting files, the number number of the files is displayed on each file selected. When the first file is selected, the number 1 can be displayed on the selected first file, and when the second file is selected, the number 2 can be displayed on the selected second file, as shown in Figure 2, A number is displayed at the top left of each selected picture, according to the order in which the file IDs were selected. For unselected files, the number is not displayed, which is convenient for the user to confirm the selection status of the file.
另外,上述预设区域还可以是除文件标识之外的其他区域。例如,如图2所示,在图片选择界面中显示“转发库”的标识11,该“转发库”对应目标区域,若用户对该标识进行操作可以将当前界面跳转至目标区域。在该标识上显示用于表示目标区域内的文件数量的第三标识(图中未示出)。当用户对目标区域内的文件进行添加或者删除时,第三标识对应的文件数量也相应更新,便于用户根据第三标识获取文件的数量。In addition, the above-mentioned preset area may also be another area other than the file identifier. For example, as shown in FIG. 2 , a logo 11 of "forwarding library" is displayed in the picture selection interface, and the "forwarding library" corresponds to the target area. If the user operates the logo, the current interface can be jumped to the target area. A third logo (not shown in the figure) representing the number of files in the target area is displayed on the logo. When the user adds or deletes files in the target area, the number of files corresponding to the third identifier is also updated accordingly, so that the user can obtain the number of files according to the third identifier.
本实施方式,用户能够基于第三标识快速查看目标区域内已选择文件的数量,从而也能够便于确认当前文件是否被选择,防止误操作。In this implementation manner, the user can quickly check the number of selected files in the target area based on the third identifier, so as to easily confirm whether the current file is selected and prevent misoperation.
可选的,所述至少N个文件包括至少两个应用程序中的文件;或所述至少N个文件为与目标账户关联的会话界面中的文件,所述目标账户为在所述第一电子设备上登录的账户。Optionally, the at least N files include files in at least two application programs; or the at least N files are files in a session interface associated with a target account, and the target account is in the first electronic The account logged in on the device.
在该实施方式中,用户可以跨应用选择多个文件标识,而不需要手动先对文件标识进行存储操作,然后进行选择。在具体进行操作时,例如,用户在第一应用程序所在界面进行浏览的过程中,可以对需要发送的文件的标识进行选择操作,该文件则被选择。在第二应用程序所在界面进行浏览的过程中,可以对需要发送的文件的标识进行选择操作,该文件则被选择。这样,在浏览多个应用程序的界面时,可以在浏览的过程中选择需要发送的文件,第一电子设备可以将在不同的应用程序界面中所选择的文件进行发送,能够减少用户操作,提高发送效率。In this embodiment, the user can select multiple file identifiers across applications, and does not need to manually store the file identifiers and then select them. During specific operations, for example, in the process of browsing on the interface where the first application program is located, the user may perform a selection operation on the identifier of the file to be sent, and the file is selected. During the browsing process on the interface where the second application program is located, a selection operation may be performed on the identifier of the file to be sent, and the file is selected. In this way, when browsing the interfaces of multiple application programs, the file to be sent can be selected during the browsing process, and the first electronic device can send the files selected in different application program interfaces, which can reduce user operations and improve delivery efficiency.
当N个文件标识为与目标账户关联的会话界面中的文件时,可以在该会话界面中选择一个或者多个文件标识,其中,上述会话界面可以包括一个或者多个会话界面。例如,账户A在第一电子设备上登录,第一电子设备的显示界面中包括账户A与账户B的第一会话界面、账户A与账户C的第二会话界面。用户在第一会话界面选择多个文件后,在第二会话界面选择多个文 件,在上述两个会话界面中选择的文件均存储至同一位置,在对文件进行发送时,第一电子设备将选择的上述文件同时发送至同一账户对应的电子设备,能够提高操作便捷性。When the N file identifiers are files in a session interface associated with the target account, one or more file identifiers may be selected in the session interface, wherein the session interface may include one or more session interfaces. For example, account A logs in on the first electronic device, and the display interface of the first electronic device includes a first session interface between account A and account B, and a second session interface between account A and account C. After the user selects multiple files on the first session interface, the user selects multiple files on the second session interface, and the files selected in the above two session interfaces are stored in the same location. When sending the files, the first electronic device will store the files. The above selected files are simultaneously sent to the electronic device corresponding to the same account, which can improve the convenience of operation.
可选的,所述至少N个文件为至少N张图片,所述N个文件标识为N张缩略图;所述显示目标标识,包括:Optionally, the at least N files are at least N pictures, and the N file identifiers are N thumbnails; the display target identifiers include:
获取所述至少N张图片对应的所述N张缩略图;obtaining the N thumbnails corresponding to the at least N pictures;
对所述N张缩略图进行合成,得到包括所述N张缩略图的目标图片;synthesizing the N thumbnails to obtain a target picture including the N thumbnails;
显示所述目标图片。The target picture is displayed.
当文件为图片时,图片的合成方式可以是将图片的缩略图进行合成,使得合成后的多张缩略图为一张图片,即目标图片。多张缩略图的排列方式可以是用户操作设置的,或者是电子设备预先设置的,此处不作限定。这样,能够减少多个图片在多个电子设备之间进行转发时的重复操作。When the file is an image, the image synthesis method may be to synthesize the thumbnails of the images, so that the synthesized multiple thumbnails are one image, that is, the target image. The arrangement of the multiple thumbnails may be set by a user operation or preset by an electronic device, which is not limited here. In this way, repeated operations when multiple pictures are forwarded between multiple electronic devices can be reduced.
例如,如图5所示,将图片1、图片2和图片3的缩略图进行合成,得到包括图片1、图片2和图片3的缩略图的目标图片12。For example, as shown in FIG. 5 , the thumbnails of the picture 1, the picture 2 and the picture 3 are synthesized to obtain the target picture 12 including the thumbnails of the picture 1, the picture 2 and the picture 3.
为了便于理解本发明实施例,以下结合具体实施方式对第一电子设备的文件处理方法进行举例说明。In order to facilitate the understanding of the embodiments of the present invention, a file processing method of the first electronic device is exemplified below with reference to specific embodiments.
如图3所示,第一电子设备开启多图转发模式,在该模式下,图片可被选择,且用户可以跨应用以及跨会话界面选择图片。如图2所示,用户对图片进行按压并向上滑动操作,在滑动距离大于预设距离的情况下,图片存储至转发库,即目标区域,若用户对转发库的标识11进行操作,则界面跳转至目标区域。此时图片上显示转发库的图标11,转发库图标11上或者图片上显示数字标记,该标记用于表示转发库中已存储的图片的数量。用户可以在转发库中对图片进行编辑整理。当用户在当前界面按压图片并横向滑动操作,且滑动操作大于预设距离时,则将该图片从转发库中删除。As shown in FIG. 3 , the first electronic device enables a multi-picture forwarding mode, in which pictures can be selected and the user can select pictures across applications and across session interfaces. As shown in Figure 2, the user presses the picture and slides upwards. If the sliding distance is greater than the preset distance, the picture is stored in the forwarding library, that is, the target area. If the user operates the logo 11 of the forwarding library, the interface Jump to the target area. At this time, an icon 11 of the forwarding library is displayed on the picture, and a digital mark is displayed on the icon 11 of the forwarding library or on the picture, and the mark is used to indicate the number of pictures stored in the forwarding library. Users can edit and organize pictures in the forwarding library. When the user presses the picture on the current interface and performs a horizontal sliding operation, and the sliding operation is greater than the preset distance, the picture is deleted from the forwarding library.
当用户关闭多图转发模式后,转发库内的图片可以自动保存到本地图库,具体可以是以合成图片的方式进行保存,还可以是以单个图片的形式保存。在关闭多图转发模式时,电子设备退出图片选择模式,此时可以进一步显示对象列表,如图4所示,用户可以基于对象列表选择需要发送的对象。当用户选择发送的对象后,多个图片以合成后的一张图片进行发送,如图5所示 中的目标图片12。When the user turns off the multi-picture forwarding mode, the pictures in the forwarding library can be automatically saved to the local library, specifically, the pictures can be saved in the form of composite pictures, or they can be saved in the form of single pictures. When the multi-picture forwarding mode is turned off, the electronic device exits the picture selection mode, and the object list can be further displayed at this time. As shown in FIG. 4 , the user can select the object to be sent based on the object list. After the user selects the object to be sent, multiple pictures are sent as a combined picture, such as the target picture 12 shown in FIG. 5 .
本申请实施例,第一电子设备将多个文件标识进行合成后发送给第二电子设备,便于第二电子设备对多个文件进行处理,减少对多个文件标识的重复操作。In this embodiment of the present application, the first electronic device synthesizes multiple file identifiers and sends them to the second electronic device, which facilitates the second electronic device to process multiple files and reduces repeated operations on multiple file identifiers.
第一电子设备将目标标识发给第二电子设备后,第二电子设备可以对目标标识进行处理。第二电子设备侧的文件处理方法可以参见图6,图6是本发明实施例提供的文件处理方法的流程图。如图6所示,包括以下步骤:After the first electronic device sends the target identification to the second electronic device, the second electronic device can process the target identification. For a file processing method on the second electronic device side, reference may be made to FIG. 6 , which is a flowchart of a file processing method provided by an embodiment of the present invention. As shown in Figure 6, it includes the following steps:
步骤601、接收第一电子设备发送的目标标识,所述目标标识包括至少N个文件对应的N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件。Step 601: Receive a target identifier sent by a first electronic device, where the target identifier includes N file identifiers corresponding to at least N files, and each of the file identifiers is used to indicate at least one file among the at least N files.
目标标识为第一电子设备将N个文件标识进行合成得到的一个标识。目标标识的解释可以参见第一电子设备侧的描述,此处不再赘述。The target identifier is an identifier obtained by synthesizing N file identifiers by the first electronic device. For the explanation of the target identifier, reference may be made to the description on the side of the first electronic device, which will not be repeated here.
步骤602、显示所述目标标识。Step 602: Display the target identifier.
在显示目标标识后,用户可以基于该目标标识预览N个文件标识的内容。第二电子设备在显示目标标识后,可以进一步显示目标标识对应的至少N个文件,或者基于用户的操作显示至少N个文件。After the target identifier is displayed, the user can preview the contents of the N file identifiers based on the target identifier. After displaying the target identifier, the second electronic device may further display at least N files corresponding to the target identifier, or display at least N files based on a user's operation.
例如,在目标标识包括多个图片的缩略图的情况下,依次将每个图片展开显示;在目标文件为多个文件的标识的情况下,依次全屏显示每个文件的内容。For example, if the target identifier includes thumbnails of multiple images, each image is expanded and displayed in sequence; if the target file is an identifier of multiple files, the content of each file is displayed in full screen in sequence.
进一步地,用户可以对接收的目标标识进行操作,以触发电子设备显示文件的内容。Further, the user can operate the received target identifier to trigger the electronic device to display the content of the file.
可选的,所述显示所述目标标识之后,所述方法还包括:Optionally, after the displaying the target identifier, the method further includes:
接收用户对所述目标标识中的第三文件标识的第三输入;receiving a third input from the user to the third file identifier in the target identifier;
响应于所述第三输入,显示所述第三文件标识对应的文件,或,显示所述至少N个文件。In response to the third input, a file corresponding to the third file identifier is displayed, or the at least N files are displayed.
在该实施方式中,用户可以对目标标识中的任一文件标识进行操作,以对第三文件标识进行操作为例,用户可以对第三文件标识进行第三输入,例如,点击操作、滑动操作或者按压操作等。第二电子设备响应用户的操作,显示第三文件标识对应的文件,或者显示目标标识对应的至少N个文件。In this embodiment, the user can operate any file identifier in the target identifiers. Taking the operation on the third file identifier as an example, the user can perform a third input on the third file identifier, for example, a click operation, a sliding operation Or press operation, etc. In response to the user's operation, the second electronic device displays the file corresponding to the third file identifier, or displays at least N files corresponding to the target identifier.
此外,用户还可以对目标标识进行操作,第二电子设备响应用户的操作,执行以下至少一项:存储所述至少N个文件、发送所述至少N个文件、从所述至少N个文件中删除至少一个文件、在所述至少N个文件中增加至少一个文件。In addition, the user can also operate the target identifier, and the second electronic device responds to the user's operation and performs at least one of the following: storing the at least N files, sending the at least N files, and selecting the at least N files At least one file is deleted, and at least one file is added to the at least N files.
第二电子设备可以将目标标识对应的至少N个文件存储至本地或者其他存储空间,或者将目标标识对应的多个文件拆分后进行存储;还可以将目标标识转发给其他电子设备。在进行这些操作的过程中,目标标识作为一个整体进行处理,能够减少用户对多个文件的重复选择操作。The second electronic device may store at least N files corresponding to the target identifier in a local or other storage space, or split multiple files corresponding to the target identifier for storage; and may also forward the target identifier to other electronic devices. In the process of performing these operations, the target identification is processed as a whole, which can reduce the user's repeated selection operations on multiple files.
电子设备响应用户的操作,还可以将目标标识中对应的文件中的至少一个文件进行删除,删除该至少一个文件后,目标标识中的文件标识减少,且该标识对应的文件数量减少;或者在目标标识中增加至少一个文件标识,增加后的目标标识中的文件标识增加,对应的文件数量相应增加。其中,增加的图片可以是从本地图片增加,或者是从正在运行的应用程序的界面中添加,此处不作限制。例如,目标标识为由4个缩略图合成的一个图片。若用户对该目标标识进行操作,电子设备删除其中一个缩略图,目标标识为由3个缩略图合成的一个图片;若电子设备增加一个缩略图,目标标识为由5个缩略图合成的一个图片。In response to the user's operation, the electronic device can also delete at least one file in the files corresponding to the target identification, after deleting the at least one file, the file identification in the target identification is reduced, and the number of files corresponding to the identification is reduced; or At least one file identification is added to the target identification, the file identification in the increased target identification is increased, and the corresponding number of files is correspondingly increased. The added picture may be added from a local picture, or added from an interface of a running application, which is not limited here. For example, the target is identified as a picture composed of 4 thumbnails. If the user operates the target identification, the electronic device deletes one of the thumbnails, and the target identification is a picture composed of 3 thumbnails; if the electronic device adds a thumbnail, the target identification is a picture composed of 5 thumbnails .
本实施方式中,便于用户快速对目标标识进行编辑操作,能够提高操作效率。In this embodiment, it is convenient for the user to quickly edit the target identifier, and the operation efficiency can be improved.
可选的,所述目标标识为将N张缩略图进行合成得到的图片;所述显示所述目标标识之后,所述方法还包括:Optionally, the target identifier is a picture obtained by synthesizing N thumbnails; after the display of the target identifier, the method further includes:
依次展开显示所述N张缩略图中的每张图片。Expand and display each picture in the N thumbnails in turn.
在文件为图片的情况下,可以将至少N张图片的缩略图拼合,从而作为一张图片显示,便于用户快速预览,且便于用户的操作。在用户查看图片时,可以展开显示每张图片,例如,依次全屏显示每张图片。In the case where the file is a picture, the thumbnails of at least N pictures can be combined, so as to be displayed as one picture, which is convenient for the user to preview quickly and facilitate the operation of the user. When the user views the pictures, each picture can be expanded and displayed, for example, each picture can be displayed in full screen in turn.
本实施方式,在便于用户查看图片的基础上,能够减少用户的操作。In this embodiment, the user's operations can be reduced on the basis of facilitating the user to view the picture.
为了便于理解本发明实施例,以下结合具体实施方式对第二电子设备的文件处理方法进行举例说明。In order to facilitate the understanding of the embodiments of the present invention, a file processing method of the second electronic device is exemplified below with reference to specific embodiments.
例如,第二电子设备在接收到合成后的图片后,用户对合成的图片进行 操作,电子设备进入全屏预览的界面,预览的图片为合成前的每一张图片。用户可以进行左右滑动操作,以预览每张图片,多个图片依次横向展出显示,如图7所示;或者进行上下滑动操作,多个图片依次纵向展出显示,如图8所示。滑到最后一张时,自动退出浏览。长按切换中的当前图片可以对当前图片进行相应操作,如保存、编辑、发送等。For example, after the second electronic device receives the synthesized picture, the user operates the synthesized picture, and the electronic device enters the interface of full-screen preview, and the previewed picture is each picture before synthesis. Users can slide left and right to preview each picture, and multiple pictures are displayed horizontally in sequence, as shown in Figure 7; or by sliding up and down, multiple pictures are displayed vertically in sequence, as shown in Figure 8. When swiping to the last one, automatically exit browsing. Press and hold the current picture in the switch to perform corresponding operations on the current picture, such as saving, editing, sending, etc.
第二电子设备可以基于合成的图片进行处理,而不需要再次进行多次选择操作,能够减少用户的操作,提高操作便捷性。The second electronic device can perform processing based on the synthesized picture, and does not need to perform multiple selection operations again, which can reduce user operations and improve operational convenience.
需要说明的是,本申请实施例提供的文件处理方法,执行主体可以为文件处理装置,或者该文件处理装置中的用于执行加载文件处理方法的控制模块。本申请实施例中以文件处理装置执行加载文件处理方法为例,说明本申请实施例提供的文件处理方法。It should be noted that, in the file processing method provided by the embodiments of the present application, the execution body may be a file processing apparatus, or a control module in the file processing apparatus for executing the method for processing a loaded file. In the embodiment of the present application, the file processing method provided by the embodiment of the present application is described by taking the file processing apparatus executing the method for processing a loaded file as an example.
参见图9,图9是本发明实施例提供的文件处理装置的结构图,应用于第一电子设备,如图9所示,文件处理装置900包括:Referring to FIG. 9, FIG. 9 is a structural diagram of a file processing apparatus provided by an embodiment of the present invention, which is applied to a first electronic device. As shown in FIG. 9, the file processing apparatus 900 includes:
第一接收模块901,用于接收用户对N个文件标识的第一输入;The first receiving module 901 is used to receive the first input of the N file identifiers by the user;
发送模块902,用于响应于所述第一输入,显示目标标识,并向第二电子设备发送所述目标标识对应的至少N个文件,所述目标标识包括所述N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;A sending module 902 is configured to display a target identifier in response to the first input, and send at least N files corresponding to the target identifier to the second electronic device, where the target identifier includes the N file identifiers, each The file identifier is used to indicate at least one file among the at least N files;
其中,N≥2,且N为正整数。Among them, N≥2, and N is a positive integer.
可选的,所述发送模块包括:Optionally, the sending module includes:
第一合成子模块,用于对所述N个文件标识进行合成,得到所述目标标识;a first synthesis submodule, configured to synthesize the N file identifiers to obtain the target identifier;
第一显示子模块,用于显示所述目标标识。The first display sub-module is used to display the target identifier.
可选的,所述合成子模块包括:Optionally, the synthesizing submodule includes:
拆分单元,用于在所述N个文件标识中包括由至少两个子文件标识合成的第一文件标识的情况下,对所述第一文件标识进行拆分得到所述至少两个子文件标识;A splitting unit, configured to split the first file identifier to obtain the at least two sub-file identifiers when the N file identifiers include a first file identifier synthesized from at least two sub-file identifiers;
合成单元,用于对所述至少两个子文件标识和其他文件标识进行合成,得到所述目标标识;a synthesizing unit for synthesizing the at least two sub-file identifiers and other file identifiers to obtain the target identifier;
所述其他文件标识为所述N个文件标识中除所述第一文件标识之外的文 件标识。The other file identifiers are file identifiers other than the first file identifier among the N file identifiers.
可选的,所述装置还包括:Optionally, the device further includes:
第一显示模块,用于响应于所述第一输入,在目标区域显示所述N个文件标识;a first display module, configured to display the N file identifiers in the target area in response to the first input;
第二接收模块,用于接收用户对所述目标区域中的所述N个文件标识中的第二文件标识的第二输入;a second receiving module, configured to receive a second input from a user to a second file identifier in the N file identifiers in the target area;
编辑模块,用于响应于所述第二输入,对所述第二文件标识进行编辑;an editing module, configured to edit the second file identifier in response to the second input;
所述发送模块具体用于:The sending module is specifically used for:
基于编辑后的所述第二文件标识,显示所述目标标识。The target identification is displayed based on the edited second file identification.
可选的,所述装置还包括:Optionally, the device further includes:
第二显示模块,用于在预设区域内显示第三标识;The second display module is used for displaying the third logo in the preset area;
所述第三标识用于指示所述目标区域中的文件标识对应的文件的数量。The third identifier is used to indicate the number of files corresponding to the file identifier in the target area.
可选的,所述至少N个文件包括至少两个应用程序中的文件;或所述至少N个文件为与目标账户关联的会话界面中的文件,所述目标账户为在所述第一电子设备上登录的账户。Optionally, the at least N files include files in at least two application programs; or the at least N files are files in a session interface associated with a target account, and the target account is in the first electronic The account logged in on the device.
可选的,所述至少N个文件为至少N张图片,所述N个文件标识为N张缩略图;所述发送模块包括:Optionally, the at least N files are at least N pictures, and the N files are identified as N thumbnails; the sending module includes:
获取子模块,用于获取所述至少N张图片对应的所述N张缩略图;an acquisition submodule for acquiring the N thumbnails corresponding to the at least N pictures;
第二合成子模块,用于对所述N张缩略图进行合成,得到包括所述N张缩略图的目标图片;a second synthesizing submodule, configured to synthesize the N thumbnails to obtain a target picture including the N thumbnails;
第二显示子模块,用于显示所述目标图片。The second display sub-module is used to display the target picture.
文件处理装置900能够实现上述方法实施例中第一电子设备实现的各个过程以及达到相同的有益效果,为避免重复,这里不再赘述。The file processing apparatus 900 can implement each process implemented by the first electronic device in the above method embodiments and achieve the same beneficial effects, and to avoid repetition, details are not described here.
参见图10,图10是本发明实施例提供的文件处理装置的结构图,应用于第二电子设备,如图10所示,文件处理装置1000包括:Referring to FIG. 10, FIG. 10 is a structural diagram of a file processing apparatus provided by an embodiment of the present invention, which is applied to a second electronic device. As shown in FIG. 10, the file processing apparatus 1000 includes:
第三接收模块1001,用于接收第一电子设备发送的目标标识,所述目标标识包括至少N个文件对应的N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;The third receiving module 1001 is configured to receive a target identifier sent by the first electronic device, where the target identifier includes N file identifiers corresponding to at least N files, and each of the file identifiers is used to indicate that among the at least N files at least one of the documents;
第三显示模块1002,用于显示所述目标标识。The third display module 1002 is configured to display the target identifier.
可选的,所述装置还包括:Optionally, the device further includes:
第四接收模块,用于接收用户对所述目标标识中的第三文件标识的第三输入;the fourth receiving module, for receiving the third input of the third file identification in the target identification by the user;
第四显示模块,用于响应于所述第三输入,显示所述第三文件标识对应的文件,或,显示所述至少N个文件。The fourth display module is configured to, in response to the third input, display the file corresponding to the third file identifier, or display the at least N files.
文件处理装置1000能够实现上述方法实施例中第二电子设备实现的各个过程以及达到相同的有益效果,为避免重复,这里不再赘述。The file processing apparatus 1000 can implement each process implemented by the second electronic device in the foregoing method embodiments and achieve the same beneficial effects, and to avoid repetition, details are not described here.
本申请实施例中的文件处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The file processing apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的文件处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The file processing apparatus in this embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的文件处理装置能够实现图1对应的第一电子设备侧的方法实施例中文件处理装置实现的各个过程以及达到相同的有益效果,或实现图6对应的第二电子设备侧的方法实施例中文件处理装置实现的各个过程以及达到相同的有益效果,为避免重复,这里不再赘述。The file processing apparatus provided in the embodiment of the present application can implement each process implemented by the file processing apparatus in the method embodiment corresponding to the first electronic device side corresponding to FIG. 1 and achieve the same beneficial effects, or realize the second electronic device side corresponding to FIG. 6 . The various processes implemented by the file processing apparatus in the method embodiment of the present invention and achieving the same beneficial effects will not be repeated here in order to avoid repetition.
可选的,本申请实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现上述第一电子设备侧或第二电子设备侧的文件处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device, including a processor, a memory, a program or an instruction stored in the memory and executable on the processor, and the program or instruction is executed by the processor to implement the above. The various processes of the embodiments of the file processing method on the first electronic device side or the second electronic device side can achieve the same technical effect, and are not repeated here to avoid repetition.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109、以及处理器1110等部件。The electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110, etc. part.
本领域技术人员可以理解,电子设备1100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1110 through a power management system, so that the power management system can manage charging, discharging, and power consumption. consumption management and other functions. The structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
其中,处理器1110,用于:The processor 1110 is used for:
控制用户输入单元1107接收用户对N个文件标识的第一输入;Controlling the user input unit 1107 to receive the first input of the N file identifiers by the user;
控制显示单元1106响应于所述第一输入,显示目标标识,并向第二电子设备发送所述目标标识对应的至少N个文件,所述目标标识包括所述N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;The control display unit 1106 displays a target identifier in response to the first input, and sends at least N files corresponding to the target identifier to the second electronic device, where the target identifier includes the N file identifiers, each of the The file identifier is used to indicate at least one file among the at least N files;
其中,N≥2,且N为正整数。Among them, N≥2, and N is a positive integer.
可选的,处理器1110控制显示单元1106执行所述显示目标标识,包括:Optionally, the processor 1110 controls the display unit 1106 to execute the display target identification, including:
对所述N个文件标识进行合成,得到所述目标标识;The N file identifiers are synthesized to obtain the target identifier;
显示所述目标标识。The target identification is displayed.
可选的,处理器1110控制显示单元1106执行所述对所述N个文件标识进行合成,得到所述目标标识,包括:Optionally, the processor 1110 controls the display unit 1106 to perform the combination of the N file identifiers to obtain the target identifier, including:
在所述N个文件标识中包括由至少两个子文件标识合成的第一文件标识的情况下,对所述第一文件标识进行拆分得到所述至少两个子文件标识;In the case where the N file identifiers include a first file identifier synthesized from at least two sub-file identifiers, splitting the first file identifier to obtain the at least two sub-file identifiers;
对所述至少两个子文件标识和其他文件标识进行合成,得到所述目标标识;Synthesize the at least two sub-file identifiers and other file identifiers to obtain the target identifier;
所述其他文件标识为所述N个文件标识中除所述第一文件标识之外的文件标识The other file identifiers are file identifiers other than the first file identifier among the N file identifiers
可选的,处理器1110还用于:Optionally, the processor 1110 is further configured to:
控制显示单元1106响应于所述第一输入,在目标区域显示所述N个文件标识;controlling the display unit 1106 to display the N file identifiers in the target area in response to the first input;
控制用户输入单元1107接收用户对所述目标区域中的所述N个文件标识 中的第二文件标识的第二输入;Controlling the user input unit 1107 to receive the second input by the user of the second file identifier in the N file identifiers in the target area;
响应于所述第二输入,对所述第二文件标识进行编辑;in response to the second input, editing the second file identification;
控制显示单元1106执行所述显示目标标识,包括:Controlling the display unit 1106 to perform the display target identification includes:
基于编辑后的所述第二文件标识,显示所述目标标识。The target identification is displayed based on the edited second file identification.
可选的,处理器1110还用于:Optionally, the processor 1110 is further configured to:
控制显示单元1106在预设区域内显示第三标识;controlling the display unit 1106 to display the third logo in the preset area;
所述第三标识用于指示所述目标区域中的文件标识对应的文件的数量The third identifier is used to indicate the number of files corresponding to the file identifiers in the target area
可选的,所述至少N个文件包括至少两个应用程序中的文件;或所述至少N个文件为与目标账户关联的会话界面中的文件,所述目标账户为在所述第一电子设备上登录的账户。Optionally, the at least N files include files in at least two application programs; or the at least N files are files in a session interface associated with a target account, and the target account is in the first electronic The account logged in on the device.
可选的,所述至少N个文件为至少N张图片,所述N个文件标识为N张缩略图;处理器1110控制显示单元1106执行所述显示目标标识,包括:Optionally, the at least N files are at least N pictures, and the N files are identified as N thumbnails; the processor 1110 controls the display unit 1106 to execute the display target identification, including:
获取所述至少N张图片对应的所述N张缩略图;obtaining the N thumbnails corresponding to the at least N pictures;
对所述N张缩略图进行合成,得到包括所述N张缩略图的目标图片;synthesizing the N thumbnails to obtain a target picture including the N thumbnails;
显示所述目标图片。The target picture is displayed.
当上述电子设备为第二电子设备时,处理器1110用于:When the above electronic device is the second electronic device, the processor 1110 is used for:
控制用户输入单元1107接收第一电子设备发送的目标标识,所述目标标识包括至少N个文件对应的N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;Controlling the user input unit 1107 to receive a target identifier sent by the first electronic device, where the target identifier includes N file identifiers corresponding to at least N files, and each of the file identifiers is used to indicate at least one of the at least N files document;
控制显示单元1106显示所述目标标识。The display unit 1106 is controlled to display the target identification.
可选的,处理器1110还用于:Optionally, the processor 1110 is further configured to:
控制用户输入单元1107接收用户对所述目标标识中的第三文件标识的第三输入;Controlling the user input unit 1107 to receive the third input from the user to the third file identifier in the target identifier;
响应于所述第三输入,显示所述第三文件标识对应的文件,或,显示所述至少N个文件。In response to the third input, a file corresponding to the third file identifier is displayed, or the at least N files are displayed.
应理解的是,本申请实施例中,输入单元1104可以包括图形处理器(Graphics Processing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1106可包括显示面板11061, 可以采用液晶显示器、有机发光二极管等形式来配置显示面板11061。用户输入单元1107包括触控面板11071以及其他输入设备11072。触控面板11071,也称为触摸屏。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。It should be understood that, in this embodiment of the present application, the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042. Such as camera) to obtain still pictures or video image data for processing. The display unit 1106 may include a display panel 11061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes a touch panel 11071 and other input devices 11072 . The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts, a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again. Memory 1109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 1110 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1110.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述第一电子设备侧或第二电子设备侧的文件处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, realizes the file on the first electronic device side or the second electronic device side. The various processes of the processing method embodiments can achieve the same technical effect, and are not repeated here to avoid repetition.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述第一电子设备侧或第二电子设备侧的文件处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the above-mentioned first electronic device side or Each process of the embodiment of the file processing method on the side of the second electronic device can achieve the same technical effect. To avoid repetition, details are not described here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
可以理解的是,本公开描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元等可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、 通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It will be appreciated that the embodiments described in this disclosure may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, modules, units, sub-modules, sub-units, etc. can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, for in other electronic units or combinations thereof that perform the functions described herein.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (13)
- 一种文件处理方法,应用于第一电子设备,包括:A file processing method, applied to a first electronic device, comprising:接收用户对N个文件标识的第一输入;receiving the first input of the N file identifiers by the user;响应于所述第一输入,显示目标标识,并向第二电子设备发送所述目标标识对应的至少N个文件,所述目标标识包括所述N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;In response to the first input, a target identifier is displayed, and at least N files corresponding to the target identifier are sent to the second electronic device, where the target identifier includes the N file identifiers, and each of the file identifiers is used for indicating at least one of the at least N files;其中,N≥2,且N为正整数。Among them, N≥2, and N is a positive integer.
- 根据权利要求1所述的方法,其中,所述显示目标标识,包括:The method according to claim 1, wherein the displaying the target identification comprises:对所述N个文件标识进行合成,得到所述目标标识;The N file identifiers are synthesized to obtain the target identifier;显示所述目标标识。The target identification is displayed.
- 根据权利要求2所述的方法,其中,所述对所述N个文件标识进行合成,得到所述目标标识,包括:The method according to claim 2, wherein the synthesizing the N file identifiers to obtain the target identifier comprises:在所述N个文件标识中包括由至少两个子文件标识合成的第一文件标识的情况下,对所述第一文件标识进行拆分得到所述至少两个子文件标识;In the case where the N file identifiers include a first file identifier synthesized from at least two sub-file identifiers, splitting the first file identifier to obtain the at least two sub-file identifiers;对所述至少两个子文件标识和其他文件标识进行合成,得到所述目标标识;Synthesize the at least two sub-file identifiers and other file identifiers to obtain the target identifier;所述其他文件标识为所述N个文件标识中除所述第一文件标识之外的文件标识。The other file identifiers are file identifiers other than the first file identifier among the N file identifiers.
- 根据权利要求1所述的方法,其中,所述接收用户对N个文件标识的第一输入之后,所述方法还包括:The method according to claim 1, wherein after receiving the first input of the N file identifiers by the user, the method further comprises:响应于所述第一输入,在目标区域显示所述N个文件标识;In response to the first input, displaying the N file identifiers in the target area;接收用户对所述目标区域中的所述N个文件标识中的第二文件标识的第二输入;receiving a second input from a user to a second file identifier in the N file identifiers in the target area;响应于所述第二输入,对所述第二文件标识进行编辑;in response to the second input, editing the second file identification;所述显示目标标识,包括:The display target identification includes:基于编辑后的所述第二文件标识,显示所述目标标识。The target identification is displayed based on the edited second file identification.
- 根据权利要求4所述的方法,其中,所述在目标区域显示所述N个文件标识之后,所述方法还包括:The method according to claim 4, wherein after the N file identifiers are displayed in the target area, the method further comprises:在预设区域内显示第三标识;Display the third logo in the preset area;所述第三标识用于指示所述目标区域中的文件标识对应的文件的数量。The third identifier is used to indicate the number of files corresponding to the file identifier in the target area.
- 根据权利要求1至5中任一项所述的方法,其中,所述至少N个文件包括至少两个应用程序中的文件;或所述至少N个文件为与目标账户关联的会话界面中的文件,所述目标账户为在所述第一电子设备上登录的账户。The method according to any one of claims 1 to 5, wherein the at least N files include files in at least two application programs; or the at least N files are files in a session interface associated with the target account file, the target account is an account logged in on the first electronic device.
- 根据权利要求1至5任一项所述的方法,其中,所述至少N个文件为至少N张图片,所述N个文件标识为N张缩略图;所述显示目标标识,包括:The method according to any one of claims 1 to 5, wherein the at least N files are at least N pictures, and the N file identifiers are N thumbnail images; the display target identifiers include:获取所述至少N张图片对应的所述N张缩略图;obtaining the N thumbnails corresponding to the at least N pictures;对所述N张缩略图进行合成,得到包括所述N张缩略图的目标图片;synthesizing the N thumbnails to obtain a target picture including the N thumbnails;显示所述目标图片。The target picture is displayed.
- 一种文件处理方法,应用于第二电子设备,包括:A file processing method, applied to a second electronic device, comprising:接收第一电子设备发送的目标标识,所述目标标识包括至少N个文件对应的N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;receiving a target identifier sent by the first electronic device, where the target identifier includes N file identifiers corresponding to at least N files, and each of the file identifiers is used to indicate at least one file in the at least N files;显示所述目标标识。The target identification is displayed.
- 根据权利要求8所述的方法,其中,所述显示所述目标标识之后,所述方法还包括:The method according to claim 8, wherein after the displaying the target identification, the method further comprises:接收用户对所述目标标识中的第三文件标识的第三输入;receiving a third input from the user to the third file identifier in the target identifier;响应于所述第三输入,显示所述第三文件标识对应的文件,或,显示所述至少N个文件。In response to the third input, a file corresponding to the third file identifier is displayed, or the at least N files are displayed.
- 一种文件处理装置,应用于第一电子设备,包括:A file processing device, applied to a first electronic device, includes:第一接收模块,用于接收用户对N个文件标识的第一输入;The first receiving module is used for receiving the first input of the N file identifiers by the user;发送模块,用于响应于所述第一输入,显示目标标识,并向第二电子设备发送所述目标标识对应的至少N个文件,所述目标标识包括所述N个文件标识,每个所述文件标识用于指示所述至少N个文件中的至少一个文件;A sending module, configured to display a target identifier in response to the first input, and send at least N files corresponding to the target identifier to the second electronic device, where the target identifier includes the N file identifiers, each of which is The file identifier is used to indicate at least one file among the at least N files;其中,N≥2,且N为正整数。Among them, N≥2, and N is a positive integer.
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现 如权利要求1至7任一项所述的文件处理方法的步骤,或实现如权利要求8至9任一项所述的文件处理方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to achieve as claimed in claims 1 to 7 The steps of any one of the file processing methods, or the steps of implementing the file processing method according to any one of claims 8 to 9.
- 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至7任一项所述的文件处理方法的步骤,或实现如权利要求8或9所述的文件处理方法的步骤。A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the file processing method according to any one of claims 1 to 7 are implemented, Or realize the steps of the file processing method as claimed in claim 8 or 9.
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至7任一项所述的文件处理方法,或实现如权利要求8或9所述的文件处理方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement the file processing according to any one of claims 1 to 7 method, or implement the file processing method as claimed in claim 8 or 9.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011057069.XA CN112187626B (en) | 2020-09-30 | 2020-09-30 | File processing method and device and electronic equipment |
CN202011057069.X | 2020-09-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022068803A1 true WO2022068803A1 (en) | 2022-04-07 |
Family
ID=73946392
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/121268 WO2022068803A1 (en) | 2020-09-30 | 2021-09-28 | File processing method and apparatus, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112187626B (en) |
WO (1) | WO2022068803A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112187626B (en) * | 2020-09-30 | 2023-04-07 | 维沃移动通信(杭州)有限公司 | File processing method and device and electronic equipment |
CN113873082A (en) * | 2021-09-27 | 2021-12-31 | 维沃移动通信有限公司 | Media file playing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140033069A1 (en) * | 2012-07-25 | 2014-01-30 | E-Plan, Inc. | Systems and methods for management and processing of electronic documents |
CN107800792A (en) * | 2017-10-26 | 2018-03-13 | 山东浪潮商用系统有限公司 | The method that a kind of android pictures or video are uploaded onto the server |
KR101921275B1 (en) * | 2017-06-16 | 2019-02-13 | 라인 가부시키가이샤 | Method and system of file transfer using device-to-device communication technique in messenger |
CN110321044A (en) * | 2019-04-25 | 2019-10-11 | 维沃移动通信有限公司 | Sharing files method and terminal |
CN112187626A (en) * | 2020-09-30 | 2021-01-05 | 维沃移动通信(杭州)有限公司 | File processing method and device and electronic equipment |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000105772A (en) * | 1998-07-28 | 2000-04-11 | Sharp Corp | Information managing device |
CN103390034B (en) * | 2013-07-12 | 2017-07-25 | 小米科技有限责任公司 | Method, device, terminal and the server of picture presentation |
CN107025059B (en) * | 2017-04-20 | 2020-12-11 | 三星电子(中国)研发中心 | Thumbnail viewing method and device |
CN109343755B (en) * | 2018-09-21 | 2020-09-29 | 维沃移动通信有限公司 | File processing method and terminal equipment |
CN109917995B (en) * | 2019-01-25 | 2021-01-08 | 维沃移动通信有限公司 | Object processing method and terminal equipment |
CN110308839B (en) * | 2019-06-28 | 2020-11-03 | 维沃移动通信有限公司 | File management method and terminal equipment |
CN111309218A (en) * | 2020-02-11 | 2020-06-19 | 维沃移动通信有限公司 | Information display method and device and electronic equipment |
-
2020
- 2020-09-30 CN CN202011057069.XA patent/CN112187626B/en active Active
-
2021
- 2021-09-28 WO PCT/CN2021/121268 patent/WO2022068803A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140033069A1 (en) * | 2012-07-25 | 2014-01-30 | E-Plan, Inc. | Systems and methods for management and processing of electronic documents |
KR101921275B1 (en) * | 2017-06-16 | 2019-02-13 | 라인 가부시키가이샤 | Method and system of file transfer using device-to-device communication technique in messenger |
CN107800792A (en) * | 2017-10-26 | 2018-03-13 | 山东浪潮商用系统有限公司 | The method that a kind of android pictures or video are uploaded onto the server |
CN110321044A (en) * | 2019-04-25 | 2019-10-11 | 维沃移动通信有限公司 | Sharing files method and terminal |
CN112187626A (en) * | 2020-09-30 | 2021-01-05 | 维沃移动通信(杭州)有限公司 | File processing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112187626A (en) | 2021-01-05 |
CN112187626B (en) | 2023-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4318192A1 (en) | Photographing interface display method and apparatus, electronic device and medium | |
WO2022206699A1 (en) | Message transmission method and apparatus, and electronic device | |
CN112165553B (en) | Image generation method and device, electronic equipment and computer readable storage medium | |
WO2021238943A1 (en) | Gif picture generation method and apparatus, and electronic device | |
CN110069181B (en) | File processing method, device, equipment and storage medium crossing folders | |
WO2022068803A1 (en) | File processing method and apparatus, and electronic device | |
WO2022143521A1 (en) | Message processing method and apparatus, and electronic device | |
CN111601012B (en) | Image processing method and device and electronic equipment | |
WO2022007935A1 (en) | Method and apparatus for application switching for display, and electronic device | |
WO2023131055A1 (en) | Message sending method and apparatus, and electronic device | |
WO2022143971A1 (en) | Video processing method and apparatus, and electronic device | |
CN112286887A (en) | File sharing method and device and electronic equipment | |
WO2023030306A1 (en) | Method and apparatus for video editing, and electronic device | |
WO2023046068A1 (en) | File processing method and apparatus | |
CN110704377B (en) | Multimedia file processing method and device, processor and electronic device | |
WO2023284639A1 (en) | Display control method and apparatus | |
WO2022095891A1 (en) | Image display method and apparatus, and device | |
WO2024041468A1 (en) | File processing method and apparatus, and electronic device and storage medium | |
WO2023016476A1 (en) | Screen capture method and device | |
WO2022247830A1 (en) | Picture management method and apparatus, and electronic device | |
CN113037618B (en) | Image sharing method and device | |
WO2022143337A1 (en) | Display control method and apparatus, and electronic device and storage medium | |
CN113852540B (en) | Information transmission method, information transmission device and electronic equipment | |
WO2022228301A1 (en) | Document generation method and apparatus and electronic device | |
WO2022188804A1 (en) | Picture processing method and apparatus, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21874463 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.02.2024) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21874463 Country of ref document: EP Kind code of ref document: A1 |