CN114116636A - File sending method and device and electronic equipment - Google Patents

File sending method and device and electronic equipment Download PDF

Info

Publication number
CN114116636A
CN114116636A CN202111353944.3A CN202111353944A CN114116636A CN 114116636 A CN114116636 A CN 114116636A CN 202111353944 A CN202111353944 A CN 202111353944A CN 114116636 A CN114116636 A CN 114116636A
Authority
CN
China
Prior art keywords
file
information
object information
files
subfile
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.)
Pending
Application number
CN202111353944.3A
Other languages
Chinese (zh)
Inventor
魏俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Guangdong Weiwo Software Technology 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 Guangdong Weiwo Software Technology Co ltd filed Critical Guangdong Weiwo Software Technology Co ltd
Priority to CN202111353944.3A priority Critical patent/CN114116636A/en
Publication of CN114116636A publication Critical patent/CN114116636A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/156Query results presentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a file sending method, a file sending device and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: under the condition that the file to be shared contains N object information, splitting the file to be shared into N sub-files according to the N object information according to a first input of the file to be shared; then displaying object classification information of M files, wherein the object classification information is obtained according to N object information classifications, and the M files comprise N sub-files; and determining a target file to send according to the object classification information.

Description

File sending method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a file sending method, a file sending device and electronic equipment.
Background
Generally, a user sends a file in a manner that a file to be shared is selected on an electronic device, and then the whole file is directly sent to another user account or the electronic device. However, this file transmission method is rigid, and cannot meet the diversified demands of users, and the user experience is poor.
For example, if a user wants to transmit only a part of content or a segment (e.g., a segment of a certain video character) in a file (e.g., an audio file or a video file), a way is to still directly transmit the entire file containing the part of content, which, although simple in operation, may have a part of the file that the user does not want to transmit, resulting in failure to meet the user's needs. The other mode is that a user manually processes the whole file, and separately makes a file part which is required to be sent into a file to be sent, and the file processing operation is complicated, and the user experience is poor.
Disclosure of Invention
The embodiment of the application aims to provide a file sending method, a file sending device and electronic equipment, and can solve the problems that an existing file sending method cannot be rigid and meets diversified requirements of users.
In a first aspect, an embodiment of the present application provides a file sending method, where the method includes:
receiving a first input of a file to be shared, wherein the file to be shared comprises N object information, and N is a positive integer;
responding to the first input, splitting the file to be shared into N sub-files according to the N object information;
displaying object classification information of M files, wherein the object classification information is obtained by classifying according to N object information, the M files comprise N sub-files, M is not less than N, and M is a positive integer;
and sending the target file, wherein the target file is one or more files determined from the M files according to the object classification information.
In a second aspect, an embodiment of the present application provides a file sending apparatus, including:
the device comprises a receiving module, a sharing module and a processing module, wherein the receiving module is used for receiving a first input of a file to be shared, the file to be shared comprises N pieces of object information, and N is a positive integer;
the splitting module is used for responding to the first input and splitting the file to be shared into N sub-files according to the N object information;
the display module is used for displaying object classification information of M files, the object classification information is obtained according to N object information classifications, the M files comprise N sub-files, M is larger than or equal to N, and M is a positive integer;
and the sending module is used for sending the target file, and the target file is one or more files determined from the M files according to the object classification information.
In a third aspect, an embodiment of 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.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, 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.
In the embodiment of the application, when the file to be shared contains N pieces of object information, according to a first input of the file to be shared, the file to be shared is divided into N sub-files according to the N pieces of object information; then displaying object classification information of M files, wherein the object classification information is obtained according to N object information classifications, and the M files comprise N sub-files; the target file is determined according to the object classification information and sent, so that when a user sends the file, the file is split into corresponding subfiles according to the contained object information, and the subfiles or other files after corresponding object information classification are selected according to user requirements and sent, so that diversified file sending requirements of the user are met, the file splitting is convenient and efficient, and user operation is reduced.
Drawings
Fig. 1 is a schematic flowchart of a file sending method in an embodiment of the present application;
FIG. 2 is a schematic view of a file list interface in another embodiment of the present application;
FIG. 3 is a schematic view of a file list interface in yet another embodiment of the present application;
FIG. 4 is a schematic diagram of a first user terminal-side file receiving interface in yet another embodiment of the present application;
FIG. 5 is a schematic structural diagram of a document sending device according to an embodiment of the present application;
FIG. 6 is a diagram of a hardware configuration of an electronic device in an embodiment of the present application;
fig. 7 is a hardware configuration diagram of an electronic device in a specific example of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly 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 that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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.
At present, when a file is sent through electronic equipment, only the selected whole file can be sent, if a user only wants to send partial content in the file, the file needs to be manually processed, for example, an electronic document, after the document needs to be opened, the content edited by a certain editor is pasted into a newly created document and is stored as a new document to be sent; or one audio file, the audio segment of a certain person is intercepted after the file needs to be opened, and the audio segment is stored as a new audio file to be sent. The operation is very cumbersome, resulting in poor user experience.
In order to solve the problems in the prior art, embodiments of the present application provide a method and an apparatus for sending a file, and an electronic device, where the file may be split based on object information included in a file to be shared, and a user may determine a target file to be sent according to object information corresponding to an obtained subfile, and then send the target file.
The following describes in detail a file sending method provided by the embodiment of the present application through a specific embodiment and an application scenario thereof with reference to the accompanying drawings.
Fig. 1 shows a flowchart of a file sending method in an embodiment of the present application. As shown in fig. 1, the method may include steps S101 to S104:
s101, receiving a first input of a file to be shared, wherein the file to be shared comprises N pieces of object information, and N is a positive integer.
The file to be shared can be an electronic file, and can also be a multimedia file such as an audio file, a video file, a picture file and the like.
The first input may be a click input of a user on a screen of the electronic device, or a voice instruction input by the user, or a specific gesture or an air-space gesture input by the user, which may be determined according to actual usage requirements, and this embodiment does not limit this.
The click input can be single click input, double click input or click input of any number of times, and can also be long-press input or short-press input. The specific gesture may be any one of a tap gesture, a double tap gesture, a swipe gesture, a drag gesture, a zoom gesture, and a rotate gesture.
For example, the object information may include, according to the type of the file to be shared:
if the file to be shared is an electronic document, the object information can be remarker information, editor information or keyword information in the electronic document;
if the file to be shared is an audio file, the object information can be voiceprint characteristic information of different characters;
if the file to be shared is an image file (such as a video or a picture), the object information may be face information of different people.
The file to be shared may include N pieces of object information, where N is a positive integer.
And S102, responding to the first input, and splitting the file to be shared into N sub-files according to the N object information.
A user may receive a first input to a file during loading of the file, in response to which a split operation may be performed. For example, in a scene that a user wants to send a file to be shared or send part of content or fragments in the file, the user selects the file to be shared to load, and splits the content of the file in the process of loading the first file.
Illustratively, subfiles are split according to object information contained in a file to be shared, and each subfile only includes one piece of object information.
It can be understood that the N pieces of object information are information of the same dimension or the same property, for example, all pieces of face feature information or all pieces of voiceprint feature information.
Optionally, when the first file is split, splitting may be performed according to a preset splitting rule. The preset splitting rule may be to split a file according to a file type, for example, an audio file may be split according to voiceprint feature information, a video file (including pictures and videos) may be split according to face feature information, a text document may be split according to edit feature (such as an editor, a reviewer, or a keyword) information, and the like.
Optionally, if, in the file to be shared, the content or the fragment corresponding to the same object information is distributed in multiple portions of the file, the split corresponding subfiles may be obtained by sequentially splicing the content or the fragment of the multiple portions.
S103, displaying object classification information of M files, wherein the object classification information is obtained by classifying according to N object information, the M files comprise N sub-files, M is larger than or equal to N, and M is a positive integer.
The object classification information may include naming information or identification of the category, etc.
And classifying the object classification information according to the N object information in the file to be shared. For example, the file to be shared is a dialogue audio of zhang san and lie san, and the first sub audio file only with zhang san and the second sub audio file only with lie san are split according to the voiceprint feature information. And dividing the first sub audio file into a Zhang three category and a Liqu category according to the voiceprint characteristic information, and displaying the information that the first sub audio file belongs to the Zhang three category and the information that the second sub audio file belongs to the Liqu category. Wherein, "zhang san" and "lie si" are naming information or identifiers (i.e. object identifiers) of the two sound categories, respectively.
In this embodiment of the application, the N sub-files may be classified according to the N object information (that is, M is equal to N and M is a positive integer), or the N sub-files and other files that include the object information and are locally stored in the electronic device and that correspond to the N sub-files may also be classified (that is, M > N and M is a positive integer).
For example, when N subfiles are classified, as shown in fig. 2, two subfiles obtained by splitting the file 202 to be shared may be displayed on the file list interface 201 of the electronic device 200 (203, 204). The file name information and/or the file thumbnail of the two split subfiles (203,204) are displayed in the file list interface 201, so that the user can select to view or send the corresponding subfile. In this example, since only two classifications (i.e., "zhang san" and "li si" two classifications) are obtained for two object information, the object classification information may be the same as the naming information of the subfile, such as: "zhang-three" in fig. 2 is name information of the first subfile 203, and is also corresponding file classification information.
Optionally, in some examples, the N sub-files may be named according to a random sequence number, such as "001", "002", or the like, or according to a combination of file generation time, parent file name, and sequence number, with the file names of the sub-files being different.
Optionally, the file list interface 201 may simultaneously display the file to be shared 202 (i.e., the parent file of the N child files), so that the user may select to send a child file containing partial content of the file to be shared or a file to be shared containing complete content.
Optionally, after the file to be shared is loaded, the N sub-files or the M files may be displayed after receiving the user instruction, or may be directly displayed. And when displaying N sub-files or M files, the file may be in a drop-down list mode, a column mode, or a folder classification mode, and the embodiment of the present application is not limited.
And S104, sending a target file, wherein the target file is one or more files determined from the M files according to the object classification information.
In a file set formed by the M files, in addition to the N split sub-files, a file of a target database may also be included, where the target database may be a local database of the electronic device or a cloud database connected to the electronic device based on the internet.
The files in the file set may all have corresponding selection controls, and after a user selects a certain file, the state of the selection control of the file changes (as shown in fig. 2, a blank box 205 indicates non-selection, and a square root mark is selected in the box).
In response to the first input, the user may determine one or more files as target files from the M files, so that the user may send a complete file to be shared, send split subfiles, or other files in the target database, thereby facilitating the satisfaction of diversified file sending requirements of the user.
It should be understood that, as a sending end, the electronic device according to the embodiment of the present application may be configured to establish a short-range (e.g., bluetooth, NFC) communication link or a long-range (e.g., ethernet or GPRS) communication link in advance with a device end of a target receiving user, so as to send a file based on the corresponding communication link after determining a target file.
In the embodiment of the application, when the file to be shared contains N pieces of object information, according to a first input of the file to be shared, the file to be shared is divided into N sub-files according to the N pieces of object information; then displaying object classification information of M files, wherein the object classification information is obtained according to N object information classifications, and the M files comprise N sub-files; the target file is determined according to the object classification information and sent, so that when a user sends the file, the file is split into corresponding subfiles according to the contained object information, and the subfiles or other files after corresponding object information classification are selected according to user requirements and sent, so that diversified file sending requirements of the user are met, the file splitting is convenient and efficient, and user operation is reduced.
In order to improve file splitting efficiency and enable sub-files obtained by splitting file contents to be more personalized so as to be sent to a designated user, optionally, in the embodiment of the present application, a file to be shared may be a multimedia file, the multimedia file may be an audio file or an image file, and the image file may be a picture or a video file.
For example, in the case where the multimedia file is an audio file, the object information may be character voiceprint feature information in the audio file. When the audio file is split, the voiceprint recognition function of the electronic equipment can be utilized to recognize the character voiceprint feature information contained in the audio file. Therefore, in this example, after receiving the first input through step S101, step S102 executed may specifically include:
s201, performing character voiceprint feature recognition on the audio file through a voiceprint recognition function;
s202, splitting the file to be shared according to the N personal object voiceprint feature information identified from the audio file to obtain N sub-audio files.
For example, in the case that the multimedia file is a video file, the object information may be face feature information in the video file. When the audio file is split, the face feature information contained in the image file can be identified by using the face identification function of the electronic equipment. Therefore, in this example, after receiving the first input through step S101, step S102 executed may specifically include:
s203, carrying out face feature recognition on the image file through a face recognition function;
s204, splitting the image file according to the N pieces of face feature information identified from the image file to obtain N sub-image files.
For an audio file (e.g., a recording file), such as a dialog recording file of zhang san and lie san, an audio segment containing zhang san and an audio segment containing lie san can be separated from the audio file by a voiceprint recognition technique. If the image file is the image file, the face features in the image file can be identified through a face identification technology, and a subfile containing the image part corresponding to the face features is obtained. In the case of a text file, an editor, a reviewer, or the like of each part of the content in the file may be identified, or a specific keyword therein may be identified to obtain a subfile of the corresponding text segment.
According to the object information identified from the file to be shared, the subfiles corresponding to the object information are obtained through splitting, the subfiles corresponding to different object information in the file to be shared can be obtained without manual operation of a user, and therefore classified display can be performed through the subsequent steps S103-S104, the file corresponding to the target object information (such as the recording fragment of Zhang III) is selected as the target file and sent to other users, and operation is convenient and fast.
It should be understood that the voiceprint recognition technology, the image recognition technology, the character recognition technology, and the like are mature technologies in the field, and the implementation of the present application is not described in detail.
In order to enable the user to more intuitively know the content of the subfile corresponding to the object information or other database files classified based on the object information, so as to accurately determine the target file, in this embodiment of the present application, after obtaining N subfiles through steps S101 to S102, the method may further include step S105:
and S105, determining the naming information of each subfile according to the object information corresponding to the N subfiles, wherein the naming information comprises the object identification of the corresponding object information.
The naming information for determining the subfiles can be automatically generated by the system, and can also be manually added or modified. But the identification corresponds to the object information so that the user can directly know the corresponding object information in the subfile from the naming information.
After obtaining the N sub-files, as shown in fig. 3, the name information (hereinafter referred to as "name") of the sub-files may be displayed on the file list interface 301 of the electronic device 300. Illustratively, the subfile may be generated with an initial random name, such as a random sequence number, at which point the user may manually add or modify the identifier 302 in the name. If there is only one file under a certain identifier, the identifier may also only contain the text or symbol of the identifier, and if there is only one sub-audio file split based on the zhang san voiceprint feature information, as shown in fig. 3, zhang san may serve as the identifier and naming information of the sub-audio file. If a plurality of files are under a certain identifier, the naming information may include a combination of characters, numbers and/or symbols, for example, if there is one sub audio file split based on the king five voiceprint feature information, but there are audio files of other king five voiceprint feature information in the target database, and these audio files are respectively named as "king five 001" and "king five 002", as shown in fig. 3, the sub audio file may be named as "king five 003", and the king five is the same identifier of the file corresponding to the same voiceprint feature information, and is distinguished by numbers.
In order to simplify the user operation and improve the user experience, optionally, in this embodiment of the application, in step S105, when the target database has pre-stored object information, name information of the subfile may be generated according to an object identifier associated with the pre-stored object information. Specifically, in this embodiment, in step S105, determining the naming information of each sub-file according to the object information corresponding to the N sub-files may specifically include:
generating naming information of a first subfile according to a preset object identifier associated with the pre-stored object information under the condition that the pre-stored object information is stored in the target database and is the same as the first object information,
the first object information is one of the N object information, and the first subfile is a subfile corresponding to the first object information in the N subfiles.
The pre-stored object information of the target database may be a voice print or face characteristic information of a pre-stored multimedia audio-video character (such as a movie and television play character or an artist), or a voice print or face characteristic information of a friend of a user of the current electronic device (such as a friend in social software). In the target database, the pre-stored object information is also associated with an object identifier.
If the corresponding first object information in the first subfile has the same pre-stored object information in the target database in the N divided subfiles of the file to be shared, naming information using a preset object identifier associated with the pre-stored object information as an identifier can be directly generated when the first subfile is divided, such as 'wangwu 003' shown in fig. 3.
Through the embodiment, the naming information of the subfiles is generated manually or automatically by the system, so that the user can intuitively know the content corresponding to the subfiles without opening the subfiles, and the user can conveniently and accurately determine the target file subsequently while the user operation is simplified.
In order to facilitate the user to quickly know the files corresponding to different object information, optionally, in this embodiment of the application, after determining the subfile naming information in step S105, in the process of displaying the file classification information of M files in step S103, classification may be implemented based on the subfile and/or the naming information of other files corresponding to the above-mentioned N object information in the target database. Specifically, step S103 may include S301 to S302:
s301, displaying N classification areas corresponding to the N object information, wherein the area naming information of the N classification areas comprises object identifications corresponding to the object information;
s302, the M files are displayed in corresponding classification areas according to the corresponding object identifications.
The system divides N classification areas according to the N object information, wherein the classification areas can be in a drop-down list mode, a column mode or a folder mode. For example, the first-level list of the drop-down list is named as the first object information, and the second-level list below the first-level list includes the first subfile or other files corresponding to the object information in the target database. Alternatively, the primary folder is named with the first object information, and the primary folder includes the first subfile or other files corresponding to the object information in the target database.
For example, the name information of the classification region includes an object identifier of the object information, and all other subfiles or files of the target database corresponding to the same object information may be classified into the corresponding classification region according to the object identifier because the name information also includes the same object identifier.
In order to quickly and efficiently classify other files in the target database based on the object information included in the file to be shared, optionally, in this embodiment of the application, after the N subfiles are split through S101 to S102 and the naming information of each subfile is determined through S105, the method may further include step S106:
s106, searching a first file with the same identifier in a target database according to a first object identifier in the first subfile naming information, wherein the first subfile is a subfile corresponding to first object information in the N subfiles, and the first object identifier is an object identifier of the first object information.
The name information of the subfiles comprises object identifications, and the electronic equipment system can automatically search a first file with the same identification in the target database according to the first object identification in the first subfile.
Alternatively, and again referring to FIG. 3, the user may select the first subfile 305 having the target identifier (i.e., "Wang Wu" identifier) 302 from the N subfiles by receiving a second input from the user. In response to the first input, step S106 is triggered to be executed, namely, a first file with the same identifier in the target database is searched based on the target identifier 302 of the first subfile 305 (303, 304), wherein the target database may be a database of a file set including N subfiles, files to be shared and other related files.
The first file may be one or a plurality of files.
It should be understood that the second input may be a click input of the user on the screen, or a voice command input by the user, or a specific gesture or a blank gesture input by the user, which may be determined according to actual usage requirements, and this embodiment does not limit this.
Correspondingly, after the first file is obtained by searching, the step S103 executed displays the file classification information of the M files, which may specifically include:
and displaying the first file in a classification area corresponding to the first object identifier.
Taking fig. 3 as an example, the first file (303, 304) and the corresponding first sub-file 305 are classified and displayed in the same classification area according to the corresponding identifier 302 and the object information, i.e. the list area with the drop-down list identifier "wang-wu" is provided for the user to understand and view.
Optionally, the file list of M files displayed in this example may also include files to be shared, so that the user may select to send a complete file to be shared, its subfiles, or other files with the same identifier in the database.
The files with the same object identification are searched in the database based on the sub-files obtained through splitting, which is equivalent to classifying the files in the database based on the identification, and all the files with the specific identification are screened out for selection by the user, so that when the user sends the files, more related data are screened out for the user to select by the user, and the diversified requirements of the user are met.
In the process of displaying M files in step S103, a file list interface for displaying M files may be triggered by receiving a long press or click operation of a user on a screen, and the user may click file name information in the file list interface to open a corresponding file for preview, or may click directly to determine selection, and send out the file.
In order to satisfy the requirement that the user sends the file of the content related to the specified user, optionally, in this embodiment of the application, the N pieces of object information include first object information, and the first object information is information of the first user; when the target file is sent in step S104, a first subfile corresponding to the first object information may be sent to the first user, where the first subfile is one of the N subfiles split from the file to be shared.
In order to guarantee the security of the target file when the target file is sent to the specified user, optionally, in this embodiment of the application, after the object classification information of the M files is displayed in step S103, the method may further include:
s107, encrypting the first subfile according to the first object information corresponding to the first subfile to generate a first encrypted subfile, wherein the first subfile is a subfile corresponding to the first object information in the N subfiles;
and S108, determining the first encrypted subfile as a target file.
After the N subfiles are obtained, each subfile corresponds to one piece of object information, and each subfile can be encrypted based on the corresponding object information. Taking the first subfile of the N subfiles as an example, in the process of generating the first encrypted subfile, the first object of the first subfile may be converted into the first encoding information according to a preset encoding rule by encrypting the first subfile according to the first object information corresponding to the first subfile. Meanwhile, the content of the first subfile is converted into a first ciphertext according to a preset encryption rule; and splicing the first coding information and the first ciphertext to form a data packet of a first encryption subfile.
Correspondingly, the step S104 of sending the target file may include:
and sending the target file to the first user, so that the first user decrypts the target file by using the same first object information after receiving the target file to obtain the first subfile.
In this embodiment, the first encrypted subfile is sent to the first user, and after the first user receives the first encrypted subfile, the first user obtains first object information (hereinafter referred to as "user first object information") at a terminal of the first user, and when the obtained user first object information matches the first object information in the encrypted subfile, the first encrypted subfile can be decrypted to obtain the first subfile.
The first encrypted subfile is sent to the first user in the form of a ciphertext. When the first user opens the first encrypted subfile, the method may include S401 to S403:
s401, displaying prompt information.
As shown in fig. 4, the prompt message may be in a form of a popup window, and after receiving the first encrypted subfile 401, the user is prompted by the popup window 402 to obtain a key to decrypt the first encrypted subfile.
S402, obtaining first object information of a user.
The operation of acquiring and identifying the first object information of the user, which is corresponding to the type of the first subfile, may be audio, video, or image, or may be text, may be triggered by receiving a user input through a control 402 as shown in fig. 4.
For example, if the first subfile is an audio file and the first object information may be a voiceprint feature of the first user, the corresponding audio including the sound of the first user, which may be captured through a microphone, may be used as the user first object information.
If the first subfile is a video file and the first object information can be the face features of the first user, the image of the face of the corresponding first user, which is acquired by the camera, can be used as the first object information of the user and the information is identified.
If the first subfile is a document, corresponding text information can be input as the first object information of the user.
And S403, matching the first object information of the user with the first object information in the encrypted subfile, and decrypting to obtain the first subfile under the condition that the matching is consistent.
And the first object information of the user is also converted into second coding information through the same coding rule, the second coding information is used as a decryption key to be compared with the first coding information in the first encryption subfile, if the first coding information is consistent with the first coding information, the plaintext of the first subfile is decrypted, and if the first coding information is inconsistent with the first coding information, the plaintext of the first subfile cannot be obtained.
Therefore, the subfiles can be encrypted based on the object information of the subfiles, so that the target files with specific object information are decrypted through the same object information after being sent to the appointed user, and the safety of the subfiles is guaranteed.
In the file transmission method provided in the embodiment of the present application, the execution subject may be a file transmission apparatus, or a control module in the file transmission apparatus for executing the file transmission method. In the embodiments of the present application, a file transmission apparatus executing a file transmission method is taken as an example, and the file transmission apparatus provided in the embodiments of the present application is described.
Fig. 5 shows a schematic structural diagram of a file sending device provided in an embodiment of the present application. As shown in fig. 5, the apparatus may include:
a receiving module 501, configured to receive a first input of a file to be shared, where the file to be shared includes N pieces of object information, and N is a positive integer;
a splitting module 502, configured to split, in response to a first input, a file to be shared into N sub-files according to N pieces of object information;
the display module 503 is configured to display object classification information of M files, where the object classification information is obtained by classifying N object information, the M files include N sub-files, M is greater than or equal to N, and M is a positive integer;
a sending module 504, configured to send a target file, where the target file is one or more files determined from the M files according to the object classification information.
The first file may be an electronic file, or may also be a multimedia file such as an audio file, a video file, a picture file, or the like.
The first input may be a click input of a user on a screen of the electronic device, or a voice instruction input by the user, or a specific gesture or an air-space gesture input by the user, which may be determined according to actual usage requirements, and this embodiment does not limit this.
The click input can be single click input, double click input or click input of any number of times, and can also be long-press input or short-press input. The specific gesture may be any one of a tap gesture, a double tap gesture, a swipe gesture, a drag gesture, a zoom gesture, and a rotate gesture.
For example, the object information may include, according to the type of the file to be shared:
if the file to be shared is an electronic document, the object information can be remarker information, editor information or keyword information in the electronic document;
if the file to be shared is an audio file, the object information can be voiceprint characteristic information of different characters;
if the file to be shared is an image file (such as a video or a picture), the object information may be face information of different people.
The file to be shared may include N pieces of object information, where N is a positive integer.
Illustratively, subfiles are split according to object information contained in a file to be shared, and each subfile only includes one piece of object information.
It can be understood that the N pieces of object information are information of the same dimension or the same property, for example, all pieces of face feature information or all pieces of voiceprint feature information.
Optionally, when the first file is split, splitting may be performed according to a preset splitting rule. The preset splitting rule may be to split a file according to a file type, for example, an audio file may be split according to voiceprint feature information, a video file (including pictures and videos) may be split according to face feature information, a text document may be split according to edit feature (such as an editor, a reviewer, or a keyword) information, and the like.
Optionally, if, in the file to be shared, the content or the fragment corresponding to the same object information is distributed in multiple portions of the file, the split corresponding subfiles may be obtained by sequentially splicing the content or the fragment of the multiple portions.
The object classification information may include naming information or identification of the category, etc.
And classifying the object classification information according to the N object information in the file to be shared.
In this embodiment of the application, the N sub-files may be classified according to the N object information (that is, M is equal to N and M is a positive integer), or the N sub-files and other files that include the object information and are locally stored in the electronic device and that correspond to the N sub-files may also be classified (that is, M > N and M is a positive integer).
Optionally, in some examples, the naming of the N sub-files may be by a random sequence number, or by a combination of file generation time, parent file name, and sequence number, with the file names of the sub-files being different.
In a file set formed by the M files, in addition to the N split sub-files, a file of a target database may also be included, where the target database may be a local database of the electronic device or a cloud database connected to the electronic device based on the internet.
The files in the file set can be provided with corresponding selection controls, and after a user selects one of the files, the state of the selection control of the file is changed.
In response to the first input, the user may determine one or more files as target files from the M files, so that the user may send a complete file to be shared, send split subfiles, or other files in the target database, thereby facilitating the satisfaction of diversified file sending requirements of the user.
It should be understood that, as a sending end, the electronic device according to the embodiment of the present application may be configured to establish a short-range (e.g., bluetooth, NFC) communication link or a long-range (e.g., ethernet or GPRS) communication link in advance with a device end of a target receiving user, so as to send a file based on the corresponding communication link after determining a target file.
In the embodiment of the application, when the file to be shared contains N pieces of object information, according to a first input of the file to be shared, the file to be shared is divided into N sub-files according to the N pieces of object information; then displaying object classification information of M files, wherein the object classification information is obtained according to N object information classifications, and the M files comprise N sub-files; the target file is determined according to the object classification information and sent, so that when a user sends the file, the file is split into corresponding subfiles according to the contained object information, and the subfiles or other files after corresponding object information classification are selected according to user requirements and sent, so that diversified file sending requirements of the user are met, the file splitting is convenient and efficient, and user operation is reduced.
In order to improve file splitting efficiency and enable sub-files obtained by splitting file contents to be more personalized so as to be sent to a designated receiving terminal user, optionally, in the embodiment of the present application, a file to be shared may be a multimedia file, the multimedia file may be an audio file or an image file, and the image file may be a picture or a video file.
For example, in the case where the multimedia file is an audio file, the object information may be character voiceprint feature information in the audio file. The splitting module 502 may specifically include:
the first identification submodule 5021 is used for carrying out figure voiceprint feature identification on the audio file through a voiceprint identification function;
the first splitting submodule 5022 is used for splitting the file to be shared according to the voiceprint feature information of the N personal objects identified from the audio file to obtain N sub-audio files.
For example, in the case that the multimedia file is a video file, the object information may be face feature information in the video file. The splitting module 502 may be configured to:
the second recognition submodule 5023 is used for carrying out face feature recognition on the image file through the face recognition function;
the second splitting sub-module 5024 is configured to split the image file according to the N pieces of face feature information identified from the image file, so as to obtain N pieces of sub-image files.
According to the object information identified from the file to be shared, the subfiles corresponding to the object information are obtained through splitting, the subfiles corresponding to different object information in the file to be shared can be obtained without manual operation of a user, accordingly, classification display can be carried out subsequently, the file corresponding to the target object information is selected to serve as the target file, and the target file is sent to other users, and operation is convenient and fast.
It should be understood that the voiceprint recognition technology, the image recognition technology, the character recognition technology, and the like are mature technologies in the field, and the implementation of the present application is not described in detail. .
In order to enable a user to more intuitively know the content of the subfile corresponding to the object information or other database files classified based on the object information, so as to accurately determine the target file, in an embodiment of the present application, the apparatus may optionally include:
a first determining module 505, configured to determine, according to the object information corresponding to the N sub-files, naming information of each sub-file, where the naming information includes an object identifier of the corresponding object information.
The naming information for determining the subfiles can be automatically generated by the system, and can also be manually added or modified. But the identification corresponds to the object information so that the user can directly know the corresponding object information in the subfile from the naming information.
For example, the subfile may be generated with an initial random name, such as a random sequence number, at which point the user may manually add or modify the identity in the name. If there is only one file under a certain identifier, the identifier may also only contain the characters or symbols of the identifier, and if there are multiple files under a certain identifier, the naming information may include the combination of characters, numbers and/or symbols.
In order to simplify the user operation and improve the user experience, optionally, in this embodiment of the application, the first determining module 505 may further generate the naming information of the subfile according to the object identifier associated with the pre-stored object information when the pre-stored object information exists in the target database. Specifically, in this embodiment, the first determining module 505 may specifically be configured to:
generating naming information of a first subfile according to a preset object identifier associated with the pre-stored object information under the condition that the pre-stored object information is stored in the target database and is the same as the first object information,
the first object information is one of the N object information, and the first subfile is a subfile corresponding to the first object information in the N subfiles.
The pre-stored object information of the target database may be a voice print or face characteristic information of a pre-stored multimedia audio-video character (such as a movie and television play character or an artist), or a voice print or face characteristic information of a friend of a user of the current electronic device (such as a friend in social software). In the target database, the pre-stored object information is also associated with an object identifier.
If the corresponding first object information in the first subfile has the same pre-stored object information in the target database in the N sub-files split from the file to be shared, the naming information using the preset object identifier associated with the pre-stored object information as the identifier can be directly generated when the first subfile is split.
Through the embodiment, the naming information of the subfiles is generated manually or automatically by the system, so that the user can intuitively know the content corresponding to the subfiles without opening the subfiles, and the user can conveniently and accurately determine the target file subsequently while the user operation is simplified.
In order to facilitate the user to quickly know files corresponding to different object information, optionally, in this embodiment of the application, after the first determining module 505 determines the name information of the subfile, the display module 503 may implement classification based on the name information of the subfile and/or other files corresponding to the N object information in the target database. Specifically, the display module 503 may include:
a first display sub-module 5031, configured to display N classification regions corresponding to the N pieces of object information, where the region naming information of the N classification regions includes the object identifier corresponding to the object information;
the second display sub-module 5032 is configured to display the M files in the corresponding classification areas according to the corresponding object identifiers.
The system divides N classification areas according to the N object information, wherein the classification areas can be in a drop-down list mode, a column mode or a folder mode.
For example, the name information of the classification region includes an object identifier of the object information, and all other subfiles or files of the target database corresponding to the same object information may be classified into the corresponding classification region according to the object identifier because the name information also includes the same object identifier.
In order to quickly and efficiently classify other files in the target database based on the object information included in the file to be shared, optionally, in this embodiment of the present application, the apparatus may further include:
and a searching module 506, searching a first file with the same identifier in the target database according to a first object identifier in the first subfile naming information, wherein the first subfile is a subfile corresponding to the first object information in the N subfiles, and the first object identifier is an object identifier of the first object information.
The name information of the subfiles comprises object identifications, and the electronic equipment system can automatically search a first file with the same identification in the target database according to the first object identification in the first subfile.
Or the user may select the first subfile with the target identification from the N subfiles by receiving a second input from the user. Then in response to the first input, triggering execution of a search for a first file with the same identifier in a target database based on the target identifier of the first subfile, wherein the target database may be a database of a file set including the N subfiles, the file to be shared, and other related files.
The first file may be one or a plurality of files.
It should be understood that the second input may be a click input of the user on the screen, or a voice command input by the user, or a specific gesture or a blank gesture input by the user, which may be determined according to actual usage requirements, and this embodiment does not limit this.
Correspondingly, after the first file is obtained through searching, the display module 503 may be further configured to:
and displaying the first file in a classification area corresponding to the first object identifier.
And the first file and the corresponding first subfile are classified and displayed in the same classification area according to the corresponding identification and the corresponding object information, so that a user can know and view the first file.
Optionally, the file list of M files displayed in this example may also include files to be shared, so that the user may select to send a complete file to be shared, its subfiles, or other files with the same identifier in the database.
The files with the same object identification are searched in the database based on the sub-files obtained through splitting, which is equivalent to classifying the files in the database based on the identification, and all the files with the specific identification are screened out for selection by the user, so that when the user sends the files, more related data are screened out for the user to select by the user, and the diversified requirements of the user are met.
In the process of displaying M files through the display module 503, a file list interface for displaying M files may be triggered by receiving a long press or click operation of a user on a screen, and the user may click file name information in the file list interface to open a corresponding file for preview, or may click directly to determine selection and send the file out.
In order to satisfy the requirement that the user sends the file of the content related to the specified user, optionally, in this embodiment of the application, the N pieces of object information include first object information, and the first object information is information of the first user; when the target file is sent through the sending module 504, a first subfile corresponding to the first object information may be sent to the first user, where the first subfile is one of the N subfiles split from the file to be shared.
In order to guarantee the security of the target file when the target file is sent to the specified user, optionally, in this embodiment of the application, the apparatus may further include:
a first generating module 507, configured to encrypt a first subfile according to the first object information, and generate a first encrypted subfile, where the first subfile is a subfile corresponding to the first object information in the N subfiles;
a second determining module 508, configured to determine the first encrypted subfile as a target file.
After the N subfiles are obtained, each subfile corresponds to one piece of object information, and each subfile can be encrypted based on the corresponding object information. Taking the first subfile of the N subfiles as an example, in the process of generating the first encrypted subfile, the first object of the first subfile may be converted into the first encoding information according to a preset encoding rule by encrypting the first subfile according to the first object information corresponding to the first subfile. Meanwhile, the content of the first subfile is converted into a first ciphertext according to a preset encryption rule; and splicing the first coding information and the first ciphertext to form a data packet of a first encryption subfile.
Correspondingly, the sending module 504 may specifically be configured to:
and sending the target file to the first user, so that the first user decrypts the target file by using the same first object information after receiving the target file to obtain the first subfile.
In this embodiment, the first encrypted subfile is sent to the first user, and after the first user receives the first encrypted subfile, the first user obtains first object information (hereinafter referred to as "user first object information") at a terminal of the first user, and when the obtained user first object information matches the first object information in the encrypted subfile, the first encrypted subfile can be decrypted to obtain the first subfile.
The first encrypted subfile is sent to the first user in the form of a ciphertext. When a first user opens a first encryption subfile, displaying prompt information and acquiring first object information of the user; and matching the first object information of the user with the first object information in the encrypted subfile, and decrypting to obtain the first subfile under the condition of consistent matching.
The prompt message may be in a popup mode, and after receiving the first encrypted subfile, the user is prompted to acquire the key to decrypt the first encrypted subfile through the popup prompt message. And the first object information of the user acquired by the first user is also converted into second coding information through the same coding rule, the second coding information is used as a decryption key to be compared with the first coding information in the first encryption subfile, if the first coding information is consistent with the first coding information, the plaintext of the first subfile is decrypted, and if the first coding information is inconsistent with the first coding information, the plaintext of the first subfile cannot be obtained.
Therefore, the subfiles can be encrypted based on the object information of the subfiles, so that the target files with specific object information are decrypted through the same object information after being sent to the appointed user, and the safety of the subfiles is guaranteed.
The file sending device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The file transmission device in the embodiment of the present application may be a device 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 sending apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the foregoing embodiment of the file sending method, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 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 omitted here.
The user input unit 707 is configured to receive a first input of a file to be shared, where the file to be shared includes N pieces of object information, and N is a positive integer;
the processor 710 is configured to split the file to be shared into N sub-files according to the N pieces of object information in response to the first input.
The display unit 706 is configured to display object classification information of M files, where the object classification information is obtained by classifying the N object information, the M files include the N sub-files, M is greater than or equal to N, and M is a positive integer.
The radio frequency unit 701 or the network module 702 is configured to send a target file, where the target file is one or more files determined from the M files according to the object classification information.
In the embodiment of the application, when the file to be shared contains N pieces of object information, according to a first input of the file to be shared, the file to be shared is divided into N sub-files according to the N pieces of object information; then displaying object classification information of M files, wherein the object classification information is obtained according to N object information classifications, and the M files comprise N sub-files; the target file is determined according to the object classification information and sent, so that when a user sends the file, the file is split into corresponding subfiles according to the contained object information, and the subfiles or other files after corresponding object information classification are selected according to user requirements and sent, so that diversified file sending requirements of the user are met, the file splitting is convenient and efficient, and user operation is reduced.
Optionally, in this embodiment of the application, the processor 710 may further be configured to:
and determining the naming information of each subfile according to the object information corresponding to the N subfiles, wherein the naming information comprises the object identification of the corresponding object information.
For example, the processor 710 is configured to determine naming information of each sub-file according to object information corresponding to the N sub-files, where the naming information includes an object identifier corresponding to the object information, and specifically includes:
generating naming information of a first subfile according to a preset object identifier associated with prestored object information under the condition that the prestored object information is in the target database and is the same as the first object information,
the first object information is one of the N object information, and the first subfile is a subfile corresponding to the first object information in the N subfiles.
Optionally, in this embodiment of the application, the display module 706 may specifically be configured to:
displaying N classified areas corresponding to the N object information, wherein the area naming information of the N classified areas comprises the object identification corresponding to the object information;
and respectively displaying the M files in the corresponding classification areas according to the corresponding object identifications.
Optionally, in this embodiment of the application, after the processor 710 determines the naming information of the sub-files, the processor may further be configured to:
searching a first file with the same identifier in a target database according to a first object identifier in first subfile naming information, wherein the first subfile is a subfile corresponding to first object information in the N subfiles, and the first object identifier is an object identifier of the first object information;
correspondingly, the display module 706 may be configured to:
and displaying the first file in a classification area corresponding to the first object identifier.
Optionally, in this embodiment of the application, the N pieces of object information include first object information, where the first object information is information of a first user; the processor 710 may be further configured to:
encrypting a first subfile according to the first object information to generate a first encrypted subfile, wherein the first subfile is a subfile corresponding to the first object information in the N subfiles;
determining the first encrypted subfile as a target file;
the corresponding radio frequency module 701 or network module 702 may be specifically configured to:
and sending the target file to the first user, so that the first user decrypts the target file by using the same first object information after receiving the target file to obtain the first subfile.
Optionally, in this embodiment of the application, the file to be shared is a multimedia file;
then, for example, in the case that the multimedia file is an audio file, and the object information is character voiceprint feature information in the audio file, the processor 710 may be configured to:
and splitting the audio file according to the N pieces of character voiceprint characteristic information identified from the audio file to obtain N pieces of sub-audio files.
Alternatively, in a case that the multimedia file is an image file, the object information is facial feature information in the image file, and the processor 710 may be configured to:
and splitting the image file according to N pieces of face characteristic information identified from the image file to obtain N sub-image files, wherein the image file is a picture or a video.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 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. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
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 file sending method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device 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 run a program or an instruction to implement each process of the above file sending method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted 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 computer 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, 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 (13)

1. A method for transmitting a file, the method comprising:
receiving a first input of a file to be shared, wherein the file to be shared comprises N object information, and N is a positive integer;
responding to the first input, and splitting the file to be shared into N sub-files according to the N object information;
displaying object classification information of M files, wherein the object classification information is obtained by classifying according to the N object information, the M files comprise the N sub-files, M is not less than N, and M is a positive integer;
and sending a target file, wherein the target file is one or more files determined from the M files according to the object classification information.
2. The method according to claim 1, wherein after the splitting the file to be shared into N sub-files according to the N object information, the method includes:
and determining the naming information of each subfile according to the object information corresponding to the N subfiles, wherein the naming information comprises the object identification of the corresponding object information.
3. The method according to claim 2, wherein the determining the naming information of each sub-file according to the object information corresponding to the N sub-files comprises:
generating naming information of a first subfile according to a preset object identifier associated with prestored object information under the condition that the prestored object information is in the target database and is the same as the first object information,
the first object information is one of the N object information, and the first subfile is a subfile corresponding to the first object information in the N subfiles.
4. The method of claim 2, wherein displaying the file classification information of the M files comprises:
displaying N classified areas corresponding to the N object information, wherein the area naming information of the N classified areas comprises the object identification corresponding to the object information;
and respectively displaying the M files in the corresponding classification areas according to the corresponding object identifications.
5. The method of claim 4, wherein after the determining the naming information of each subfile, the method comprises:
searching a first file with the same identifier in a target database according to a first object identifier in first subfile naming information, wherein the first subfile is a subfile corresponding to first object information in the N subfiles, and the first object identifier is an object identifier of the first object information;
the displaying of the file classification information of the M files includes:
and displaying the first file in a classification area corresponding to the first object identifier.
6. The method according to claim 1, wherein the N object information includes first object information, and the first object information is information of a first user;
after the displaying the object classification information of the M files, the method includes:
encrypting a first subfile according to the first object information to generate a first encrypted subfile, wherein the first subfile is a subfile corresponding to the first object information in the N subfiles;
determining the first encrypted subfile as a target file;
the sending the target file comprises:
and sending the target file to the first user, so that the first user decrypts the target file by using the same first object information after receiving the target file to obtain the first subfile.
7. The method according to claim 1, wherein the file to be shared is a multimedia file;
when the multimedia file is an audio file, the object information is character voiceprint feature information in the audio file, and the splitting the file to be shared into N sub-files according to the N object information includes:
splitting the audio file according to the N pieces of character voiceprint characteristic information identified from the audio file to obtain N pieces of sub-audio files;
when the multimedia file is an image file, the object information is face feature information in the image file, and the splitting of the file to be shared into N sub-files according to the N object information includes:
and splitting the image file according to N pieces of face characteristic information identified from the image file to obtain N sub-image files, wherein the image file is a picture or a video.
8. A file transmission apparatus, characterized in that the apparatus comprises:
the device comprises a receiving module, a sharing module and a processing module, wherein the receiving module is used for receiving a first input of a file to be shared, the file to be shared comprises N pieces of object information, and N is a positive integer;
the splitting module is used for responding to the first input and splitting the file to be shared into N sub-files according to the N object information;
the display module is used for displaying object classification information of M files, wherein the object classification information is obtained by classifying according to the N object information, the M files comprise the N sub-files, M is not less than N, and M is a positive integer;
and the sending module is used for sending the target file, wherein the target file is one or more files determined from the M files according to the object classification information.
9. The apparatus of claim 8, further comprising:
and the first determining module is used for determining the naming information of each sub-file according to the object information corresponding to the N sub-files, wherein the naming information comprises the object identification of the corresponding object information.
10. The apparatus of claim 9, wherein the first determining module is specifically configured to:
generating naming information of a first subfile according to a preset object identifier associated with prestored object information under the condition that the prestored object information is in the target database and is the same as the first object information,
the first object information is one of the N object information, and the first subfile is a subfile corresponding to the first object information in the N subfiles.
11. The apparatus of claim 9, wherein the display module comprises:
the first display sub-module is used for displaying N classification areas corresponding to the N object information, and the area naming information of the N classification areas comprises the object identification corresponding to the object information;
and the second display sub-module is used for displaying the M files in the corresponding classification areas according to the corresponding object identifications.
12. The apparatus of claim 11, wherein the apparatus comprises:
the searching module is used for searching a first file with the same identifier in a target database according to a first object identifier in first subfile naming information, wherein the first subfile is a subfile corresponding to first object information in the N subfiles, and the first object identifier is an object identifier of the first object information;
the display module is specifically configured to:
and displaying the first file in a classification area corresponding to the first object identifier.
13. The apparatus according to claim 8, wherein the N object information includes first object information, and the first object information is information of a first user;
the device comprises:
a first generating module, configured to encrypt a first subfile according to the first object information, and generate a first encrypted subfile, where the first subfile is a subfile corresponding to the first object information in the N subfiles;
a second determining module, configured to determine the first encrypted subfile as a target file;
the sending module is specifically configured to:
and sending the target file to the first user, so that the first user decrypts the target file by using the same first object information after receiving the target file to obtain the first subfile.
CN202111353944.3A 2021-11-11 2021-11-11 File sending method and device and electronic equipment Pending CN114116636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111353944.3A CN114116636A (en) 2021-11-11 2021-11-11 File sending method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111353944.3A CN114116636A (en) 2021-11-11 2021-11-11 File sending method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114116636A true CN114116636A (en) 2022-03-01

Family

ID=80395710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111353944.3A Pending CN114116636A (en) 2021-11-11 2021-11-11 File sending method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114116636A (en)

Similar Documents

Publication Publication Date Title
CN108055589B (en) Intelligent television
CN108055590B (en) Method for displaying graphic user interface of television picture screenshot
JP6266245B2 (en) Content sharing method and system, apparatus and recording medium
KR101660271B1 (en) Metadata tagging system, image searching method, device, and method for tagging gesture
US9716774B2 (en) System and method for syncing a user interface on a server device to a user interface on a client device
US20130346867A1 (en) Systems and methods for automatically generating a media asset segment based on verbal input
CN108111898B (en) Display method of graphical user interface of television picture screenshot and smart television
US20110302204A1 (en) Method and apparatus for text information management
CN102984050A (en) Method, client and system for searching voices in instant messaging
US20200012701A1 (en) Method and apparatus for recommending associated user based on interactions with multimedia processes
CN112286887A (en) File sharing method and device and electronic equipment
JP2009075977A (en) Portable terminal browsing document distribution server, portable terminal, and portable terminal browsing document distribution system
CN115079884A (en) Session message display method, device, equipment and storage medium
CN104866773B (en) A kind of fingerprint search method, apparatus and terminal
CN110728981A (en) Interactive function execution method and device, electronic equipment and storage medium
CN113986083A (en) File processing method and electronic equipment
CN113869063A (en) Data recommendation method and device, electronic equipment and storage medium
CN106055671B (en) Multimedia data processing method and equipment thereof
CN112866092A (en) Group chat creating method and group chat creating device
CN114116636A (en) File sending method and device and electronic equipment
CN113411251B (en) Multi-message distribution method and device, electronic equipment and readable storage medium
CN115061580A (en) Input method, input device, electronic equipment and readable storage medium
CN113593614A (en) Image processing method and device
CN113783770A (en) Image sharing method, image sharing device and electronic equipment
CN114374663A (en) Message processing method and message processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523859 first floor, building F, No. 255, Wusha Bubugao Avenue, Chang'an Town, Dongguan City, Guangdong Province

Applicant after: Guangdong Kexun Software Technology Co.,Ltd.

Address before: 523859 first floor, building F, No. 255, Wusha Bubugao Avenue, Chang'an Town, Dongguan City, Guangdong Province

Applicant before: Guangdong Weiwo Software Technology Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20220422

Address after: 523863 No. 1, Weiwo Road, Chang'an Town, Dongguan City, Guangdong Province

Applicant after: VIVO MOBILE COMMUNICATION Co.,Ltd.

Address before: 523859 first floor, building F, No. 255, Wusha Bubugao Avenue, Chang'an Town, Dongguan City, Guangdong Province

Applicant before: Guangdong Kexun Software Technology Co.,Ltd.

TA01 Transfer of patent application right