CN112187626A - File processing method and device and electronic equipment - Google Patents

File processing method and device and electronic equipment Download PDF

Info

Publication number
CN112187626A
CN112187626A CN202011057069.XA CN202011057069A CN112187626A CN 112187626 A CN112187626 A CN 112187626A CN 202011057069 A CN202011057069 A CN 202011057069A CN 112187626 A CN112187626 A CN 112187626A
Authority
CN
China
Prior art keywords
file
target
identifier
files
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011057069.XA
Other languages
Chinese (zh)
Other versions
CN112187626B (en
Inventor
刘宏贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202011057069.XA priority Critical patent/CN112187626B/en
Publication of CN112187626A publication Critical patent/CN112187626A/en
Priority to PCT/CN2021/121268 priority patent/WO2022068803A1/en
Application granted granted Critical
Publication of CN112187626B publication Critical patent/CN112187626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-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/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a file processing method and device and electronic equipment, belongs to the technical field of communication, and aims to solve the problem of complex operation when files are sent among a plurality of electronic equipment. The file processing method comprises the following steps: receiving first input of a user to the N file identifications; responding to the first input, displaying a target identifier, and sending at least N files corresponding to the target identifier to a second electronic device, wherein the target identifier comprises the N file identifiers, and each file identifier is used for indicating at least one file in the at least N files; wherein N is more than or equal to 2 and is a positive integer. Because the N file identifications are synthesized into the target identification, the second electronic device can transmit at least N files by operating based on the target identification without performing selection operation on the N files again, and the operation convenience can be improved.

Description

File processing method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a file processing method and device and electronic equipment.
Background
With the development of information technology, information interaction through electronic devices has become a common social way for people. In daily life, a user usually sends or receives files, such as photos, videos and the like, to others through social software. When a user sends a plurality of files to others, the user needs to sequentially select the plurality of files on a display interface of the files and then send the files.
In the above process, the inventors found that at least the following problems exist in the prior art: when a plurality of electronic devices send or store a plurality of identical files, for example, friends send photos of a party to each other, each electronic device needs to select the files one by one, which is cumbersome.
Disclosure of Invention
The embodiment of the invention provides a file processing method and device and electronic equipment, and aims to solve the problem of complex operation when a file is sent among a plurality of electronic equipment.
In order to solve the technical problem, the invention is realized as follows:
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:
receiving first input of a user to the N file identifications;
responding to the first input, displaying a target identifier, and sending at least N files corresponding to the target identifier to a second electronic device, wherein the target identifier comprises the N file identifiers, and each file identifier is used for indicating at least one file in the at least N files;
wherein N is more than or equal to 2 and 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 includes:
receiving a target identifier sent by first electronic equipment, wherein the target identifier comprises N file identifiers corresponding to at least N files, and each file identifier is used for indicating at least one file in the at least N files;
and displaying the target identification.
In a third aspect, an embodiment of the present invention further provides a file processing apparatus, applied to a first electronic device, where the apparatus includes:
the first receiving module is used for receiving first input of the N file identifiers by a user;
a sending module, configured to respond to the first input, display a target identifier, and send, to a second electronic device, at least N files corresponding to the target identifier, where the target identifier includes the N file identifiers, and each file identifier is used to indicate at least one file of the at least N files;
wherein N is more than or equal to 2 and 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 includes:
a third receiving module, configured to 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 file identifier is used to indicate at least one file in the at least N files;
and the third display module is used for displaying the target identifier.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect or the second aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first or second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect or the second aspect.
In the embodiment of the application, first input of a user to N file identifiers is received; responding to the first input, displaying a target identifier, and sending at least N files corresponding to the target identifier to a second electronic device, wherein the target identifier comprises the N file identifiers, and each file identifier is used for indicating at least one file in the at least N files; wherein N is more than or equal to 2 and is a positive integer. Because the N file identifications are synthesized into the target identification, the second electronic device can transmit at least N files by operating based on the target identification without performing selection operation on the N files again, and the operation convenience can be improved.
Drawings
FIG. 1 is a flowchart of a document processing method provided in an embodiment of the present application;
fig. 2 to fig. 5 are schematic interface diagrams of a first electronic device according to an embodiment of the present disclosure;
FIG. 6 is a second flowchart of a document processing method according to an embodiment of the present application;
fig. 7 to 8 are schematic interface diagrams of a second electronic device according to an embodiment of the present application;
FIG. 9 is a view showing one of the structures of a document processing apparatus according to an embodiment of the present application;
FIG. 10 is a second block diagram of a document processing apparatus according to an embodiment of the present application;
fig. 11 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the document processing method provided by the embodiment of the present application in detail through a specific embodiment and an application scenario thereof with reference to the accompanying drawings.
Taking a file in the embodiment of the present application as a picture, and a first electronic device needs to send a plurality of pictures to a second electronic device as an example, the embodiment of the present application is illustrated. It should be noted that this illustration is not to be construed as a specific limitation of the embodiments.
The user selects the pictures at the display interfaces of the application programs of the first electronic equipment. And the first electronic equipment responds to the operation of the user and adds the thumbnail of the picture selected by the user into the forwarding library. When a user performs sending operation, the electronic equipment synthesizes the thumbnails of the plurality of pictures in the forwarding library into one picture, and then sends the synthesized picture to the second electronic equipment.
And after the second electronic equipment receives the synthesized pictures, displaying each picture in the synthesized pictures in a full-screen preview mode. If the second electronic device needs to forward or store the received picture, the operation can be performed based on the synthesized picture, so that the picture can be rapidly processed.
In order to further understand the embodiments of the present invention, the following description is made of the embodiments of the present application from the perspective of a first electronic device and a second electronic device, respectively.
Fig. 1 can be referred to as a file processing method on the first electronic device side, and fig. 1 is a flowchart of the file processing method provided in the embodiment of the present invention. As shown in fig. 1, the method comprises the following steps:
step 101, receiving a first input of the user to the N file identifiers.
The first input may be a selection input for N files, for example, a user performs a selection operation on a plurality of files in sequence. The first input may also be a confirmation operation according to the N files selected by the electronic device. The first input may specifically be a click operation, a slide operation, or a voice input, and is not limited herein. As shown in fig. 2, the user presses the picture and then performs a slide-up operation.
Before the user makes the first input, the user can operate the electronic device to start a specific working mode, such as a multi-graph forwarding mode. As shown in fig. 3, an icon of "multi-graph forwarding" is displayed on the electronic device, and when a user operates the icon, the electronic device may be triggered to enter the multi-graph forwarding mode. In this specific operating mode, the electronic device may further select a file, and perform transmission processing on the file according to the implementation manner of the embodiment of the present application.
Step 102, responding to the first input, displaying a target identifier, and sending at least N files corresponding to the target identifier to a second electronic device, where the target identifier includes the N file identifiers, and each file identifier is used to indicate at least one file in the at least N files;
wherein N is more than or equal to 2 and is a positive integer.
In this step, the electronic device responds to the first input, displays a target identifier including N file identifiers, and sends at least N files corresponding to the target identifier to the second electronic device.
Optionally, the displaying the target identifier includes:
synthesizing the N file identifications to obtain the target identification;
and displaying the target identification.
The first electronic device may synthesize the N file identifiers to obtain the target identifier. Specifically, the target identifier may be formed by splicing a plurality of file identifiers, or the 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, thumbnail 1, thumbnail 2, and thumbnail 3 are pieced into one picture, and the pieced picture is transmitted to a friend in a conversation interface.
Each file identifier in the N file identifiers may be a file identifier of a single file, or may be a synthesized file identifier. For example, the 4 file identifications include 3 file identifications corresponding to 3 individual files, and 1 file identification synthesized by two subfile identifications, where the file identification corresponds to two subfiles. The electronic equipment can directly synthesize the 4 file identifications to obtain a target identification synthesized by the 4 file identifications; the synthesis identifier can be split into 2 sub-file identifiers, and then the synthesis is performed based on the split file identifiers, so that a target identifier synthesized by 5 file identifiers is obtained.
Therefore, the N file identifications are synthesized into a target identification, and a user can send at least N files corresponding to the N file identifications of the synthesized target identification when operating the target identification. And when the target identification is sent, the user can preview the file identification contained in the target identification based on the target identification. Under the condition that the file is a picture, combining the thumbnails of a plurality of pictures into one picture, and previewing the approximate content of each picture by a user based on the picture; when the files are the documents, the thumbnail marks of the plurality of documents can be spliced into one icon, and the user can preview the approximate content of each file based on the icon, so that the preview and operation efficiency can be improved. Wherein the icon may include at least one of a textual identifier and a graphical identifier.
Because at least N files are sent based on the operation of the synthesized target identifier, the second electronic device can operate based on the target identifier after receiving the target identifier, so that forwarding or storage of the at least N files is realized, selection operation of each file is not required again, and the operation efficiency can be improved.
After receiving the first input, the user may further perform a fourth input, which may be a sending operation on the file, such as a click operation, a press operation, and the like. In the course of making the fourth input, the object of transmission may also be selected.
For example, after the user performs a mode closing operation on the icon of the "multi-map forwarding" mode in step 101, the electronic device may display an object list in response to the operation, and the user may quickly select an object to be transmitted based on the displayed object list, as shown in fig. 4. The objects in the object list may be arranged in a specific order, such as according to the selection time and frequency of the objects selected by history, or may be ordered according to a default ordering manner.
Optionally, the synthesizing the N file identifiers to obtain the target identifier includes:
under the condition that the N file identifications comprise a first file identification synthesized by at least two subfile identifications, splitting the first file identification to obtain the at least two subfile identifications;
synthesizing the at least two sub-file identifications and other file identifications to obtain the target identification;
the other file identifiers are the file identifiers except the first file identifier in the N file identifiers.
In this embodiment, when the N file identifiers include the synthesized file identifier, that is, the first file identifier, the multiple subfile identifiers that synthesize the first file identifier may be split first to obtain a single subfile identifier, and then the multiple subfile identifiers obtained through splitting may be synthesized with other file identifiers. The user can roughly preview the content of the file based on the split sub-file identification, and misoperation is reduced.
In addition, after the sub-file identification is split, the electronic device can further edit the split sub-file, such as deletion, position shifting and the like, and the operation is convenient and fast.
Optionally, after receiving the first input of the N file identifiers from the user, the method further includes:
displaying the N file identifications in a target area in response to the first input;
receiving a second input of a user to a second file identifier in the N file identifiers in the target area;
editing the second file identification in response to the second input;
the display target identification comprises:
and displaying the target identifier based on the edited second file identifier.
In this embodiment, after the user selects N file identifiers, the first electronic device may display the N file identifiers in the target area. Specifically, the N file identifiers may be sequentially displayed according to the sequence of the selection operation or simultaneously displayed after the N file identifiers are acquired.
The user may operate, that is, perform the second input, on the second file identifier of the N file identifiers in the target area, and may edit, such as delete, position sort, and the like, the file corresponding to the second file identifier in the target area. 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 can be improvedEfficiency of
In addition, the user can operate the file identification on the selection interface, so that the file in the target area can be edited. For example, the user performs a sliding operation on the four file identifiers sequentially upward on the file selection interface, and the electronic device displays the four file identifiers in the target area in response to the user operation. And 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. Therefore, the user can edit the files in the target area by operating in the selection interface, the operation is convenient and fast, and the operation flexibility can be improved.
After the file identification in the target area is edited, the electronic equipment synthesizes the file identification in the target area to obtain the target identification. When synthesizing the file identifiers in the target area, the file identifiers may be synthesized in the order of arrangement after editing, or in the order of selection operation, and this is not limited here.
According to the embodiment, the file identification in the target area is edited based on the operation of the user, and the edited file identification in the target area is synthesized, so that the operation efficiency and the operation flexibility can be improved.
Optionally, after the N file identifiers are displayed in the target area, the method further includes:
displaying a third identifier in a preset area;
the third identifier is used for indicating the number of files corresponding to the file identifier in the target area.
The preset area can be an interface where the N file identifiers are located, and when a user selects the file identifiers on the interface, the user can check the number of the selected files at the same time.
Specifically, the preset area may be an area where the file identifier is located, and when a user selects one file identifier, the sequence number of the file identifier may be displayed in the area where the file identifier is located according to the sequence selected by the file identifier, where the sequence number is the sequence number of the selected file identifier, that is, the number of the selected files. For example, in the process of selecting a file by the user, the number of files is displayed on each selected file. When a first file is selected, the number 1 may be displayed on the selected first file, and when a second file is selected, the number 2 may be displayed on the selected second file, as shown in fig. 2, and the numbers are displayed in the upper left of each selected picture according to the order of the identifiers of the selected files. And the number is not displayed for the unselected file, so that the user can conveniently confirm the selection state of the file.
In addition, the preset area may be other areas besides the file identifier. For example, as shown in fig. 2, an identifier 11 of a "forwarding library" is displayed in the picture selection interface, the "forwarding library" corresponds to the target area, and if a user operates the identifier, the current interface may jump to the target area. A third indicator (not shown in the figure) indicating the number of files in the target area is displayed on the indicator. When the user adds or deletes the files in the target area, the number of the files corresponding to the third identifier is correspondingly updated, so that the user can conveniently acquire the number of the files according to the third identifier.
According to the embodiment, the user can quickly check the number of the selected files in the target area based on the third identification, so that whether the current file is selected or not can be conveniently confirmed, and misoperation is prevented.
Optionally, the at least N files include files in at least two applications; or the at least N files are files in a session interface associated with a target account, and the target account is an account logged in on the first electronic device.
In this embodiment, a user may select multiple file identifications across applications without having to manually store the file identifications first and then select them. During specific operation, for example, in the process of browsing 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. In the process of browsing the interface where the second application program is located, the identifier of the file to be sent can be selected, and the file is selected. Therefore, when the interfaces of a plurality of application programs are browsed, the files needing to be sent can be selected in the browsing process, the first electronic equipment can send the files selected in different application program interfaces, user operation can be reduced, and sending efficiency is improved.
When the N file identifications are files in a session interface associated with the target account, one or more file identifications may be selected in the session interface, where the session interface may include one or more session interfaces. For example, account a logs in on a first electronic device, and a display interface of the first electronic device includes a first session interface of account a and account B, and a second session interface of account a and account C. After a user selects a plurality of files on the first session interface, a plurality of files are selected on the second session interface, the files selected in the two session interfaces are stored in the same position, and when the files are sent, the selected files are sent to the electronic equipment corresponding to the same account by the first electronic equipment, so that the operation convenience can be improved.
Optionally, the at least N files are at least N pictures, and the N file identifiers are N thumbnail images; the display target identification comprises:
acquiring the N thumbnail pictures corresponding to the at least N pictures;
synthesizing the N thumbnail to obtain a target picture comprising the N thumbnail;
and displaying the target picture.
When the file is a picture, the picture may be synthesized in such a manner that thumbnails of the picture are synthesized, so that the synthesized plurality of thumbnails are one picture, that is, the target picture. The arrangement of the plurality of thumbnails may be set by a user operation or preset by the electronic device, and is not limited herein. In this way, it is possible to reduce the number of repetitive operations when a plurality of pictures are transferred between a plurality of electronic devices.
For example, as shown in fig. 5, thumbnails of picture 1, picture 2, and picture 3 are combined to obtain a target picture 12 including thumbnails of picture 1, picture 2, and picture 3.
In order to facilitate understanding of the embodiments of the present invention, the following describes a file processing method of the first electronic device with reference to a specific embodiment.
As shown in fig. 3, the first electronic device initiates a multi-graph forwarding mode in which a picture may be selected and a user may select a picture across applications and across session interfaces. As shown in fig. 2, the user presses and slides up the picture, and when the sliding distance is greater than the preset distance, the picture is stored in the forwarding library, that is, the target area, and if the user operates the identifier 11 of the forwarding library, the interface jumps to the target area. At this time, an icon 11 of the forwarding library is displayed on the picture, and a digital mark for indicating the number of pictures stored in the forwarding library is displayed on the icon 11 of the forwarding library or on the picture. The user can edit and arrange the pictures in the forwarding library. And when the user presses the picture on the current interface and performs transverse sliding operation, and the sliding operation is greater than a preset distance, deleting the picture from the forwarding library.
When the user closes the multi-image forwarding mode, the images in the forwarding library can be automatically saved in the local image library, specifically, the images can be saved in a mode of synthesizing the images, and can also be saved in a mode of a single image. When the multi-graph forwarding mode is turned off, the electronic device exits the picture selection mode, and at this time, an object list may be further displayed, as shown in fig. 4, and the user may select an object to be transmitted based on the object list. When the user selects the object to be transmitted, a plurality of pictures are transmitted as one synthesized picture, as shown by a target picture 12 in fig. 5.
According to the embodiment of the application, the first electronic equipment synthesizes the file identifications and then sends the file identifications to the second electronic equipment, so that the second electronic equipment can process the files conveniently, and repeated operation of the file identifications is reduced.
After the first electronic device sends the target identifier to the second electronic device, the second electronic device may process the target identifier. Fig. 6 can be seen as a file processing method on the second electronic device side, and fig. 6 is a flowchart of the file processing method provided in the embodiment of the present invention. As shown in fig. 6, the method comprises the following steps:
step 601, receiving 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 file identifier is used to indicate at least one file in the at least N files.
The target identifier is an identifier obtained by synthesizing the N file identifiers by the first electronic device. For the explanation of the target identifier, reference may be made to the description of the first electronic device side, which is not described herein again.
Step 602, displaying the target identifier.
After displaying the target identification, the user may preview the content of the N file identifications based on the target identification. After the second electronic device displays the target identifier, at least N files corresponding to the target identifier may be further displayed, or at least N files may be displayed based on an operation of a user.
For example, in the case where the target identifier includes thumbnails of a plurality of pictures, each picture is sequentially expanded and displayed; and under the condition that the target file is the identifications of a plurality of files, displaying the content of each file in a full screen mode in sequence.
Further, the user may operate on the received target identifier to trigger the electronic device to display the content of the file.
Optionally, after the target identifier is displayed, the method further includes:
receiving a third input of a user to a third file identifier in the target identifiers;
and responding to the third input, and displaying the file corresponding to the third file identification, or displaying the at least N files.
In this embodiment, the user may operate any file identifier in the target identifiers, for example, to operate the third file identifier, and the user may perform a third input, for example, a click operation, a slide operation, or a press operation, on the third file identifier. And the second electronic equipment responds to the operation of the user and displays the file corresponding to the third file identifier or displays at least N files corresponding to the target identifier.
In addition, the user can also operate the target identification, and the second electronic equipment responds to the operation of the user and executes at least one of the following: storing the at least N files, sending the at least N files, deleting at least one file from the at least N files, and adding at least one file 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 store a plurality of files corresponding to the target identifier after splitting; the target identification may also be forwarded to other electronic devices. In the process of carrying out the operations, the target identification is processed as a whole, so that repeated selection operations of a plurality of files by a user can be reduced.
The electronic equipment responds to the operation of a user, and can also delete at least one file in the files corresponding to the target identifier, after the at least one file is deleted, the file identifier in the target identifier is reduced, and the number of the files corresponding to the identifier is reduced; or at least one file identifier is added to the target identifier, the file identifiers in the added target identifier are increased, and the number of corresponding files is correspondingly increased. The added picture may be added from a local picture or added from an interface of the running application, which is not limited herein. For example, the target is identified as one picture composed of 4 thumbnails. If the user operates the target identifier, the electronic equipment deletes one thumbnail, wherein the target identifier is a picture synthesized by 3 thumbnails; if the electronic equipment is added with a thumbnail, the target mark is a picture synthesized by 5 thumbnails.
In the embodiment, the user can edit the target identifier quickly and conveniently, and the operation efficiency can be improved.
Optionally, the target identifier is a picture obtained by synthesizing the N thumbnail images; after the displaying the target identifier, the method further comprises:
and sequentially expanding and displaying each picture in the N expanded thumbnails.
Under the condition that the file is a picture, thumbnails of at least N pictures can be spliced to be displayed as one picture, so that the user can quickly preview the picture and conveniently operate the picture. When the user views the pictures, each picture can be unfolded and displayed, for example, each picture is displayed in full screen in turn.
According to the embodiment, on the basis that the user can conveniently check the pictures, the operation of the user can be reduced.
In order to facilitate understanding of the embodiment of the present invention, the following describes an example of a file processing method of the second electronic device with reference to a specific embodiment.
For example, after the second electronic device receives the synthesized picture, the user operates the synthesized picture, the electronic device enters a full-screen preview interface, and the previewed picture is each picture before synthesis. The user can perform a left-right sliding operation to preview each picture, and the pictures are sequentially and transversely displayed, as shown in fig. 7; or the user can slide up and down to sequentially display a plurality of pictures longitudinally, as shown in fig. 8. And when the last piece is slid, automatically quitting browsing. The current picture can be correspondingly operated, such as storage, editing, sending and the like, by long pressing the current picture in the switching process.
The second electronic device can process based on the synthesized picture without performing multiple selection operations again, so that the operation of the user can be reduced, and the operation convenience is improved.
It should be noted that, in the file processing method provided in the embodiment of the present application, the execution main body may be a file processing apparatus, or a control module in the file processing apparatus for executing the processing method for loading the file. In the embodiment of the present application, a file processing apparatus executes a processing method for loading a file as an example, and the file processing method provided in the embodiment of the present application is described.
Referring to fig. 9, fig. 9 is a structural diagram of a file processing apparatus according to an embodiment of the present invention, which is applied to a first electronic device, and as shown in fig. 9, the file processing apparatus 900 includes:
a first receiving module 901, configured to receive a first input of the N file identifiers from a user;
a sending module 902, configured to, in response to the first input, display a target identifier and send, to a second electronic device, at least N files corresponding to the target identifier, where the target identifier includes the N file identifiers, and each file identifier is used to indicate at least one file of the at least N files;
wherein N is more than or equal to 2 and is a positive integer.
Optionally, the sending module includes:
the first synthesis submodule is used for synthesizing the N file identifications to obtain the target identification;
and the first display submodule is used for displaying the target identification.
Optionally, the synthesis submodule includes:
the splitting unit is used for splitting the first file identifier to obtain at least two sub-file identifiers under the condition that the N file identifiers comprise the first file identifier synthesized by the at least two sub-file identifiers;
the synthesizing unit is used for synthesizing the at least two sub-file identifications and other file identifications to obtain the target identification;
the other file identifiers are the file identifiers except the first file identifier in the N file identifiers.
Optionally, the apparatus further comprises:
the first display module is used for responding to the first input and displaying the N file identifications in a target area;
a second receiving module, configured to receive a second input of a second file identifier of the N file identifiers in the target area from a user;
the editing module is used for responding to the second input and editing the second file identification;
the sending module is specifically configured to:
and displaying the target identifier based on the edited second file identifier.
Optionally, the apparatus further comprises:
the second display module is used for displaying the third identification in the preset area;
the third identifier is used for indicating the number of files corresponding to the file identifier in the target area.
Optionally, the at least N files include files in at least two applications; or the at least N files are files in a session interface associated with a target account, and the target account is an account logged in on the first electronic device.
Optionally, the at least N files are at least N pictures, and the N file identifiers are N thumbnail images; the sending module comprises:
an obtaining sub-module, configured to obtain the N thumbnail images corresponding to the at least N pictures;
the second synthesis submodule is used for synthesizing the N thumbnail to obtain a target picture comprising the N thumbnail;
and the second display sub-module is used for displaying the target picture.
The file processing apparatus 900 can implement the processes implemented by the first electronic device in the foregoing method embodiments and achieve the same beneficial effects, and for avoiding repetition, details are not described here again.
Referring to fig. 10, fig. 10 is a structural diagram of a file processing apparatus according to an embodiment of the present invention, applied to a second electronic device, and as shown in fig. 10, the file processing apparatus 1000 includes:
a third receiving module 1001, configured to 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 file identifier is used to indicate at least one file in the at least N files;
a third display module 1002, configured to display the target identifier.
Optionally, the apparatus further comprises:
the fourth receiving module is used for receiving a third input of a third file identifier in the target identifier from a user;
and the fourth display module is used for responding to the third input and displaying the file corresponding to the third file identifier or displaying the at least N files.
The file processing apparatus 1000 can implement each process implemented by the second electronic device in the foregoing method embodiment and achieve the same beneficial effects, and for avoiding repetition, details are not described here again.
The document processing apparatus in the embodiment of the present application may be an apparatus, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The file processing apparatus in the 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, and embodiments of the present application are not limited specifically.
The file processing apparatus provided in this embodiment of the present application can implement each process implemented by the file processing apparatus in the method embodiment on the first electronic device side corresponding to fig. 1 and achieve the same beneficial effects, or implement each process implemented by the file processing apparatus in the method embodiment on the second electronic device side corresponding to fig. 6 and achieve the same beneficial effects, and is not described here again to avoid repetition.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction is executed by the processor to implement each process of the file processing method embodiment on the first electronic device side or the second electronic device side, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
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, a processor 1110, and the like.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
Wherein, the processor 1110 is configured to:
the control user input unit 1107 receives a first input of the N file identifiers by the user;
the control display unit 1106 responds to the first input, displays a target identifier, and sends at least N files corresponding to the target identifier to the second electronic device, wherein the target identifier comprises the N file identifiers, and each file identifier is used for indicating at least one file in the at least N files;
wherein N is more than or equal to 2 and is a positive integer.
Optionally, the processor 1110 controls the display unit 1106 to execute the display target identifier, including:
synthesizing the N file identifications to obtain the target identification;
and displaying the target identification.
Optionally, the processor 1110 controls the display unit 1106 to perform the synthesizing of the N file identifiers to obtain the target identifier, including:
under the condition that the N file identifications comprise a first file identification synthesized by at least two subfile identifications, splitting the first file identification to obtain the at least two subfile identifications;
synthesizing the at least two sub-file identifications and other file identifications to obtain the target identification;
the other file identifiers are the file identifiers except the first file identifier in the N file identifiers
Optionally, the processor 1110 is further configured to:
the control display unit 1106 displays the N file identifications in a target area in response to the first input;
the control user input unit 1107 receives a second input of a second file identifier of the N file identifiers in the target area by the user;
editing the second file identification in response to the second input;
controlling the display unit 1106 to execute the display target identification, including:
and displaying the target identifier based on the edited second file identifier.
Optionally, the processor 1110 is further configured to:
controlling the display unit 1106 to display the third identifier in the preset area;
the third identifier is used for indicating the number of files corresponding to the file identifier in the target area
Optionally, the at least N files include files in at least two applications; or the at least N files are files in a session interface associated with a target account, and the target account is an account logged in on the first electronic device.
Optionally, the at least N files are at least N pictures, and the N file identifiers are N thumbnail images; the processor 1110 controls the display unit 1106 to execute the display target identification, including:
acquiring the N thumbnail pictures corresponding to the at least N pictures;
synthesizing the N thumbnail to obtain a target picture comprising the N thumbnail;
and displaying the target picture.
When the electronic device is a second electronic device, the processor 1110 is configured to:
the control user input unit 1107 receives 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 file identifier is used to indicate at least one file in the at least N files;
the control display unit 1106 displays the target identifier.
Optionally, the processor 1110 is further configured to:
controlling the user input unit 1107 to receive a third input of a third file identifier of the target identifiers by the user;
and responding to the third input, and displaying the file corresponding to the third file identification, or displaying the at least N files.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 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. A touch panel 11071, also called a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1109 may be used for storing software programs and various data including, but not limited to, application programs and an operating system. Processor 1110 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the file processing method on the first electronic device side or the second electronic device side, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned file processing method embodiment on the first electronic device side or the second electronic device side, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A file processing method is applied to first electronic equipment and is characterized by comprising the following steps:
receiving first input of a user to the N file identifications;
responding to the first input, displaying a target identifier, and sending at least N files corresponding to the target identifier to a second electronic device, wherein the target identifier comprises the N file identifiers, and each file identifier is used for indicating at least one file in the at least N files;
wherein N is more than or equal to 2 and is a positive integer.
2. The method of claim 1, wherein displaying the target identification comprises:
synthesizing the N file identifications to obtain the target identification;
and displaying the target identification.
3. The method of claim 2, wherein the synthesizing the N file identifiers to obtain the target identifier comprises:
under the condition that the N file identifications comprise a first file identification synthesized by at least two subfile identifications, splitting the first file identification to obtain the at least two subfile identifications;
synthesizing the at least two sub-file identifications and other file identifications to obtain the target identification;
the other file identifiers are the file identifiers except the first file identifier in the N file identifiers.
4. The method of claim 1, wherein after receiving a first input of the N file identifications from the user, the method further comprises:
displaying the N file identifications in a target area in response to the first input;
receiving a second input of a user to a second file identifier in the N file identifiers in the target area;
editing the second file identification in response to the second input;
the display target identification comprises:
and displaying the target identifier based on the edited second file identifier.
5. The method of claim 4, wherein after displaying the N file identifiers in the target area, the method further comprises:
displaying a third identifier in a preset area;
the third identifier is used for indicating the number of files corresponding to the file identifier in the target area.
6. The method of any of claims 1 to 5, wherein the at least N files comprise files in at least two applications; or the at least N files are files in a session interface associated with a target account, and the target account is an account logged in on the first electronic device.
7. The method according to any of claims 1 to 5, wherein the at least N files are at least N pictures, the N files being identified as N thumbnail pictures; the display target identification comprises:
acquiring the N thumbnail pictures corresponding to the at least N pictures;
synthesizing the N thumbnail to obtain a target picture comprising the N thumbnail;
and displaying the target picture.
8. A file processing method is applied to a second electronic device and is characterized by comprising the following steps:
receiving a target identifier sent by first electronic equipment, wherein the target identifier comprises N file identifiers corresponding to at least N files, and each file identifier is used for indicating at least one file in the at least N files;
and displaying the target identification.
9. The method of claim 8, wherein after displaying the target identification, the method further comprises:
receiving a third input of a user to a third file identifier in the target identifiers;
and responding to the third input, and displaying the file corresponding to the third file identification, or displaying the at least N files.
10. A file processing device applied to a first electronic device is characterized by comprising:
the first receiving module is used for receiving first input of the N file identifiers by a user;
a sending module, configured to respond to the first input, display a target identifier, and send, to a second electronic device, at least N files corresponding to the target identifier, where the target identifier includes the N file identifiers, and each file identifier is used to indicate at least one file of the at least N files;
wherein N is more than or equal to 2 and is a positive integer.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the document processing method according to any one of claims 1 to 7, or implementing the steps of the document processing method according to any one of claims 8 to 9.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the document processing method according to any one of claims 1 to 7, or implement the steps of the document processing method according to any one of claims 8 to 9.
CN202011057069.XA 2020-09-30 2020-09-30 File processing method and device and electronic equipment Active CN112187626B (en)

Priority Applications (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
PCT/CN2021/121268 WO2022068803A1 (en) 2020-09-30 2021-09-28 File processing method and apparatus, and electronic device

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN112187626A true CN112187626A (en) 2021-01-05
CN112187626B CN112187626B (en) 2023-04-07

Family

ID=73946392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011057069.XA Active CN112187626B (en) 2020-09-30 2020-09-30 File processing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN112187626B (en)
WO (1) WO2022068803A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873082A (en) * 2021-09-27 2021-12-31 维沃移动通信有限公司 Media file playing method and device
WO2022068803A1 (en) * 2020-09-30 2022-04-07 维沃移动通信有限公司 File processing method and apparatus, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6466237B1 (en) * 1998-07-28 2002-10-15 Sharp Kabushiki Kaisha Information managing device for displaying thumbnail files corresponding to electronic files and searching electronic files via thumbnail file
CN103390034A (en) * 2013-07-12 2013-11-13 北京小米科技有限责任公司 Image display method, device, terminal and server
CN107025059A (en) * 2017-04-20 2017-08-08 三星电子(中国)研发中心 A kind of thumbnail inspection method and device
CN109343755A (en) * 2018-09-21 2019-02-15 维沃移动通信有限公司 A kind of document handling method and terminal device
CN109917995A (en) * 2019-01-25 2019-06-21 维沃移动通信有限公司 A kind of object processing method and terminal device
CN110308839A (en) * 2019-06-28 2019-10-08 维沃移动通信有限公司 A kind of file management method and terminal device
CN111309218A (en) * 2020-02-11 2020-06-19 维沃移动通信有限公司 Information display method and device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9135602B2 (en) * 2012-07-25 2015-09-15 E-Plan, Inc. Management of building plan documents utilizing comments and a correction list
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
CN112187626B (en) * 2020-09-30 2023-04-07 维沃移动通信(杭州)有限公司 File processing method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6466237B1 (en) * 1998-07-28 2002-10-15 Sharp Kabushiki Kaisha Information managing device for displaying thumbnail files corresponding to electronic files and searching electronic files via thumbnail file
CN103390034A (en) * 2013-07-12 2013-11-13 北京小米科技有限责任公司 Image display method, device, terminal and server
CN107025059A (en) * 2017-04-20 2017-08-08 三星电子(中国)研发中心 A kind of thumbnail inspection method and device
CN109343755A (en) * 2018-09-21 2019-02-15 维沃移动通信有限公司 A kind of document handling method and terminal device
CN109917995A (en) * 2019-01-25 2019-06-21 维沃移动通信有限公司 A kind of object processing method and terminal device
CN110308839A (en) * 2019-06-28 2019-10-08 维沃移动通信有限公司 A kind of file management method and terminal device
CN111309218A (en) * 2020-02-11 2020-06-19 维沃移动通信有限公司 Information display method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022068803A1 (en) * 2020-09-30 2022-04-07 维沃移动通信有限公司 File processing method and apparatus, and electronic device
CN113873082A (en) * 2021-09-27 2021-12-31 维沃移动通信有限公司 Media file playing method and device

Also Published As

Publication number Publication date
CN112187626B (en) 2023-04-07
WO2022068803A1 (en) 2022-04-07

Similar Documents

Publication Publication Date Title
CN112165553B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN113093968B (en) Shooting interface display method and device, electronic equipment and medium
CN113300938B (en) Message sending method and device and electronic equipment
CN111601012B (en) Image processing method and device and electronic equipment
CN111857512A (en) Image editing method and device and electronic equipment
CN112187626B (en) File processing method and device and electronic equipment
CN112748844B (en) Message processing method and device and electronic equipment
CN112286887A (en) File sharing method and device and electronic equipment
CN112836086B (en) Video processing method and device and electronic equipment
WO2023030306A1 (en) Method and apparatus for video editing, and electronic device
CN111857460A (en) Split screen processing method, split screen processing device, electronic equipment and readable storage medium
WO2024041468A1 (en) File processing method and apparatus, and electronic device and storage medium
CN112383709A (en) Picture display method, device and equipment
CN113127425B (en) Picture processing method and device and electronic equipment
CN113783770B (en) Image sharing method, image sharing device and electronic equipment
CN113037609B (en) Chat message deleting method and device
CN113852540A (en) Information sending method, information sending device and electronic equipment
CN112764648A (en) Screen capturing method and device, electronic equipment and storage medium
CN113672745A (en) File storage method and device
CN113596329A (en) Photographing method and photographing apparatus
CN113139367A (en) Document generation method and device and electronic equipment
CN112764632B (en) Image sharing method and device and electronic equipment
CN113037618B (en) Image sharing method and device
CN113691729B (en) Image processing method and device
CN115278378B (en) Information display method, information display device, electronic apparatus, and storage medium

Legal Events

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