CN112052223A - File uploading method and device, computer equipment and readable storage medium - Google Patents
File uploading method and device, computer equipment and readable storage medium Download PDFInfo
- Publication number
- CN112052223A CN112052223A CN202010978996.9A CN202010978996A CN112052223A CN 112052223 A CN112052223 A CN 112052223A CN 202010978996 A CN202010978996 A CN 202010978996A CN 112052223 A CN112052223 A CN 112052223A
- Authority
- CN
- China
- Prior art keywords
- group name
- name information
- file
- uploaded
- uploading
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/156—Query results presentation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention provides a file uploading method, a file uploading device, computer equipment and a readable storage medium, wherein the method comprises the following steps: receiving the relevant information of the selected file to be uploaded; acquiring appointed group name information; uploading the files to be uploaded by taking the appointed group name information as a group according to the related information; and displaying the file to be uploaded in a list under the appointed group name information. The scheme realizes the grouping uploading of the files, realizes the grouping display of the files and is beneficial to improving the use experience of users.
Description
Technical Field
The present invention relates to the field of file processing technologies, and in particular, to a file uploading method and apparatus, a computer device, and a readable storage medium.
Background
Vue, in the existing component library (for example, Vue PC component library Element), there is a file upload component, and only one list is supported in the list display of the uploaded files, if it is desired to upload multiple types of file list displays, it is only possible to upload multiple components, and the use experience is not friendly.
Disclosure of Invention
The embodiment of the invention provides a file uploading method, which aims to solve the technical problem that the grouped display of files cannot be realized in the prior art. The method comprises the following steps:
receiving the relevant information of the selected file to be uploaded;
acquiring appointed group name information;
uploading the files to be uploaded by taking the appointed group name information as a group according to the related information;
and displaying the file to be uploaded in a list under the appointed group name information.
The embodiment of the invention also provides a file uploading device, which is used for solving the technical problem that the grouped display of the files cannot be realized in the prior art. The device includes:
the information receiving module is used for receiving the relevant information of the selected file to be uploaded;
the group name information acquisition module is used for acquiring appointed group name information;
the file grouping uploading module is used for uploading the files to be uploaded by taking the group name information as a grouping according to the related information;
and the file grouping display module is used for displaying the files to be uploaded in a list under the group name information.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the arbitrary file uploading method when executing the computer program so as to solve the technical problem that the file grouping display cannot be realized in the prior art.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program for executing the arbitrary file uploading method, so as to solve the technical problem that the file grouping display cannot be realized in the prior art.
In the embodiment of the invention, appointed group name information is acquired, and then files to be uploaded are uploaded in a group by the appointed group name information according to related information, namely, the selected files to be uploaded are divided into a group by the appointed group name information, different selected files to be uploaded can be divided into different groups by different appointed group name information, and then the files to be uploaded are uploaded in each group, so that the group uploading of the files is realized, after the files are uploaded, an independent list is set for the appointed group name information, namely, different appointed group name information corresponds to the independent lists, and then the files to be uploaded in the appointed group name information group are displayed in the list under the appointed group name information, namely, the files uploaded in different appointed group name information groups are displayed in the independent list corresponding to the appointed group name information, compared with the prior art, the method and the device realize the grouping display of the files and are beneficial to improving the use experience of users.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
fig. 1 is a flowchart of a file uploading method according to an embodiment of the present invention;
FIG. 2 is a diagram of a package display file according to an embodiment of the present invention;
fig. 3 is a flowchart for implementing the file uploading method according to an embodiment of the present invention;
FIG. 4 is a block diagram of a computer device according to an embodiment of the present invention;
fig. 5 is a block diagram of a file uploading apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the following embodiments and accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In an embodiment of the present invention, a file uploading method is provided, as shown in fig. 1, the method includes:
step 102: receiving the relevant information of the selected file to be uploaded;
step 104: acquiring appointed group name information;
step 106: uploading the files to be uploaded by taking the appointed group name information as a group according to the related information;
step 108: and displaying the file to be uploaded in a list under the appointed group name information.
As can be seen from the process shown in fig. 1, in the embodiment of the present invention, it is proposed to acquire the specified group name information, further upload the to-be-uploaded files in a group by using the specified group name information according to the related information, that is, divide the selected to-be-uploaded files into a group by using the specified group name information, divide the different selected to-be-uploaded files into different groups by using different specified group name information, further upload the to-be-uploaded files in the form of each group, thereby implementing group upload of files, after uploading the files, set up separate lists for the specified group name information, that is, the different specified group name information corresponds to the respective separate lists, further display the to-be-uploaded files uploaded by the specified group name information group in the list under the specified group name information, that is, the files uploaded by the different specified group name information groups are displayed in the separate lists corresponding to the specified group name information, compared with the prior art, the method and the device realize the grouping display of the files and are beneficial to improving the use experience of users.
In specific implementation, the selected files to be uploaded are files which need to be uploaded and displayed in a whole group, specifically, the files to be uploaded can be selected in a plurality of times according to factors such as file types, file batches, file characteristics and the like, and then the files to be uploaded selected each time are uploaded by taking appointed group name information as a group, for example, the appointed group name information is respectively group name 1, group name 2 and group name 3, the files to be uploaded selected corresponding to the group name 1 are file 1 and file 2, the files to be uploaded selected corresponding to the group name 2 are file A and file B, the files to be uploaded selected corresponding to the group name 3 are file 3 and file 4, namely the files to be uploaded corresponding to each appointed group name information are uploaded as a whole group, so that the files can be uploaded in a group, then, an individual list is set for each appointed group name information, and then the files to be uploaded corresponding to each designated group name information are displayed as a whole group in a list under the designated group name information, so that the files can be displayed in groups, as shown in fig. 2, the files can be uploaded and displayed in groups through one uploading component, and the purpose of grouping by uploading the files through a plurality of components in the prior art is avoided.
In specific implementation, when a file is uploaded, the relevant information of the file to be uploaded selected by the user can be obtained through operations such as clicking and inputting by the user, for example, the relevant information may be a file name, a file storage path, and the like.
In specific implementation, when uploading a file, designated group name information may also be obtained through operations such as clicking by a user, for example, existing group name information is displayed in an uploaded page, the designated group name information is selected as the designated group name information, for example, the existing group name information is displayed in the uploaded page in a manner of a drop-down box or an information item, and the user selects the group name information to be designated through clicking operations; or, pop up a popup window in which group name information is displayed, and the group name information selected and designated is used as the designated group name information, for example, a popup window pops up in an uploaded page, and the existing group name information is displayed in the popup window, and the user selects the group name information to be designated by a click operation.
In specific implementation, the group name information may be any information capable of group distinction, for example, a group name, a group number, and the like.
In specific implementation, the process of acquiring the specified group name information may occur before or after the process of selecting the file to be uploaded occurs, for example, after the relevant information of the selected file to be uploaded is received through the process of selecting the file to be uploaded, the group name information is displayed in an uploading page or the group name information is displayed through a pop-up window, and then the specified group name information is selected as the specified group name information; or after receiving a request or a message for uploading a file, firstly displaying group name information in an uploading page or displaying the group name information through a popup window, taking the selected and designated group name information as the designated group name information to obtain the designated group name information, then performing a process of selecting the file to be uploaded, and receiving the relevant information of the selected file to be uploaded.
In specific implementation, in order to meet grouping requirements of different uploaded files or improve personalization, in this embodiment, specified group name information may also be obtained in the following manner, for example, an input box is set, and the group name information received through the input box is used as the specified group name information. Specifically, when the user does not want to use the existing group name information, the user-defined group name information may be input through the input box, the group name information received through the input box is used as the designated group name information, and the selected file to be uploaded is uploaded by using the designated group name information as one group.
In specific implementation, in order to facilitate browsing and querying, in this embodiment, a grouping query of the file may also be implemented, for example, a query request is received, where the query request includes group name information; and returning the files in the list under the group name information, and responding to the query request.
In this embodiment, a process of implementing the file uploading method is described, and as shown in fig. 3, the process includes the following steps:
s1: and the user selects a file to be uploaded, clicks the uploading component to upload, and pops up the popup window.
S2: the existing group names are displayed in the pop-up window, an input box can be displayed, a user can select one group name from the existing group names as a specified group name through operation, or a new group name can be input in the input box as the specified group name, and the specified group name and the selected file to be uploaded are transmitted to the uploading component.
S3: and after receiving the specified grouping group name and the selected file to be uploaded, the uploading component uploads the selected file to be uploaded by taking the specified grouping group name as a whole. And after the uploading is successful, the selected files to be uploaded are displayed in a list under the appointed grouping group name in a grouping mode, and the list display area in the page respectively displays the independent list corresponding to each group name according to the group name.
In this embodiment, a computer device is provided, as shown in fig. 4, and includes a memory 402, a processor 404, and a computer program stored on the memory and executable on the processor, and the processor implements any of the above-mentioned file uploading methods when executing the computer program.
In particular, the computer device may be a computer terminal, a server or a similar computing device.
In the present embodiment, there is provided a computer-readable storage medium storing a computer program for executing any of the above-described file uploading methods.
In particular, computer-readable storage media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable storage medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Based on the same inventive concept, the embodiment of the present invention further provides a file uploading apparatus, as described in the following embodiments. Because the principle of the file uploading device for solving the problem is similar to that of the file uploading method, the implementation of the file uploading device can refer to the implementation of the file uploading method, and repeated parts are not described again. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a structure of a file uploading apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes:
an information receiving module 502, configured to receive relevant information of a selected file to be uploaded;
a group name information acquisition module 504 configured to acquire specified group name information;
a file grouping uploading module 506, configured to upload the file to be uploaded with the group name information as a grouping according to the relevant information;
a file grouping display module 508, configured to display the file to be uploaded in a list under the group name information.
In one embodiment, the group name information obtaining module is configured to display group name information in an upload page, and select specified group name information as the specified group name information; or popping up a popup window, displaying group name information in the popup window, and taking the selected and designated group name information as the designated group name information.
In one embodiment, the group name information obtaining module is further configured to set an input box, and take the group name information received through the input box as the specified group name information.
In one embodiment, further comprising:
a request receiving module, configured to receive a query request, where the query request includes group name information;
and the query response module is used for returning the files in the list under the group name information and responding to the query request.
The embodiment of the invention realizes the following technical effects: the method comprises the steps of acquiring appointed group name information, uploading files to be uploaded in a group with the appointed group name information according to related information, namely dividing the selected files to be uploaded into a group with the appointed group name information, dividing different selected files to be uploaded into different groups with different appointed group name information, uploading the files to be uploaded in the form of each group, achieving group uploading of the files, setting an independent list for the appointed group name information after uploading the files, namely, enabling different appointed group name information to correspond to the independent lists, displaying the files to be uploaded in the appointed group name information group in the list under the appointed group name information, namely, displaying the files uploaded in the different appointed group name information groups in the independent list corresponding to the appointed group name information, compared with the prior art, the grouping display of the files is realized, and the use experience of a user is improved.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes may be made to the embodiment of the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A file uploading method is characterized by comprising the following steps:
receiving the relevant information of the selected file to be uploaded;
acquiring appointed group name information;
uploading the files to be uploaded by taking the appointed group name information as a group according to the related information;
and displaying the file to be uploaded in a list under the appointed group name information.
2. The file uploading method according to claim 1, wherein acquiring the specified group name information comprises:
displaying group name information in an uploading page, and taking the selected and appointed group name information as the appointed group name information; or the like, or, alternatively,
and popping up a popup window, displaying the group name information in the popup window, and taking the selected and designated group name information as the designated group name information.
3. The file uploading method according to claim 1, wherein acquiring the specified group name information comprises:
setting an input box, and taking the group name information received through the input box as the designated group name information.
4. The file uploading method according to any one of claims 1 to 3, further comprising:
receiving a query request, wherein the query request comprises group name information;
and returning the files in the list under the group name information, and responding to the query request.
5. A file uploading apparatus, comprising:
the information receiving module is used for receiving the relevant information of the selected file to be uploaded;
the group name information acquisition module is used for acquiring appointed group name information;
the file grouping uploading module is used for uploading the files to be uploaded by taking the group name information as a grouping according to the related information;
and the file grouping display module is used for displaying the files to be uploaded in a list under the group name information.
6. The file uploading apparatus according to claim 5, wherein the group name information obtaining module is configured to display group name information in the uploading page, and select the specified group name information as the specified group name information; or popping up a popup window, displaying group name information in the popup window, and taking the selected and designated group name information as the designated group name information.
7. The file uploading apparatus according to claim 5, wherein the group name information acquiring module is further configured to set an input box, and take the group name information received through the input box as the specified group name information.
8. The file uploading apparatus according to any of claims 5 to 7, further comprising:
a request receiving module, configured to receive a query request, where the query request includes group name information;
and the query response module is used for returning the files in the list under the group name information and responding to the query request.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the file uploading method of any of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium storing a computer program for executing the file upload method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010978996.9A CN112052223A (en) | 2020-09-17 | 2020-09-17 | File uploading method and device, computer equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010978996.9A CN112052223A (en) | 2020-09-17 | 2020-09-17 | File uploading method and device, computer equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112052223A true CN112052223A (en) | 2020-12-08 |
Family
ID=73603467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010978996.9A Pending CN112052223A (en) | 2020-09-17 | 2020-09-17 | File uploading method and device, computer equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112052223A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113568874A (en) * | 2021-07-14 | 2021-10-29 | 上海分木信息科技有限公司 | File selection uploading method and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140067929A1 (en) * | 2012-08-28 | 2014-03-06 | Ivan Kirigin | Uploading one or more files from a shared file link |
CN103677673A (en) * | 2013-12-23 | 2014-03-26 | Tcl集团股份有限公司 | Method and system for uploading files in classifying and batching mode |
CN106021246A (en) * | 2015-03-26 | 2016-10-12 | 北京畅游天下网络技术有限公司 | Method and device for document management |
-
2020
- 2020-09-17 CN CN202010978996.9A patent/CN112052223A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140067929A1 (en) * | 2012-08-28 | 2014-03-06 | Ivan Kirigin | Uploading one or more files from a shared file link |
CN103677673A (en) * | 2013-12-23 | 2014-03-26 | Tcl集团股份有限公司 | Method and system for uploading files in classifying and batching mode |
CN106021246A (en) * | 2015-03-26 | 2016-10-12 | 北京畅游天下网络技术有限公司 | Method and device for document management |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113568874A (en) * | 2021-07-14 | 2021-10-29 | 上海分木信息科技有限公司 | File selection uploading method and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105573604A (en) | Classification method and device of application programs | |
CN109933321A (en) | Table display method and device, storage medium based on Vue frame | |
CN110889039A (en) | Method and equipment for pushing books in reading application | |
JP2020107347A (en) | Methods and apparatuses for storing file path and accessing local file | |
US9503551B2 (en) | Hybrid native networked applications | |
CN112035524B (en) | List data query method, device, computer equipment and readable storage medium | |
CN112052223A (en) | File uploading method and device, computer equipment and readable storage medium | |
CN111158650A (en) | Report template, report template and report generation method and device | |
CN110110000A (en) | Methods of exhibiting and device | |
CN107220260B (en) | Page display method and device | |
CN116644250B (en) | Page detection method, page detection device, computer equipment and storage medium | |
CN106649320B (en) | rectangular tree graph processing method and device | |
CN117608569A (en) | Table form rendering method, system and storage medium | |
CN108241620B (en) | Query script generation method and device | |
CN111125157B (en) | Query data processing method and device, storage medium and processor | |
CN111506233A (en) | Method and equipment for providing book information in reading application | |
CN116521148A (en) | Code generation method and device, nonvolatile storage medium and electronic equipment | |
CN112667934A (en) | Dynamic simulation diagram display method and device, electronic equipment and computer readable medium | |
CN106294700A (en) | The storage of a kind of daily record and read method and device | |
US9230022B1 (en) | Customizable result sets for application program interfaces | |
CN108241624B (en) | Query script generation method and device | |
CN112035515B (en) | Method, device, computer equipment and readable storage medium for configuring query condition | |
CN111460273B (en) | Information pushing method and device | |
CN111930667A (en) | Method and device for book recommendation in reading application | |
CN112861185A (en) | Data automatic deformation transmission method based on Hive data warehouse |
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 |