CN113094526A - Picture batch uploading and displaying method and device, computer equipment and storage medium - Google Patents

Picture batch uploading and displaying method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113094526A
CN113094526A CN202110443559.1A CN202110443559A CN113094526A CN 113094526 A CN113094526 A CN 113094526A CN 202110443559 A CN202110443559 A CN 202110443559A CN 113094526 A CN113094526 A CN 113094526A
Authority
CN
China
Prior art keywords
picture
picture file
code
acquiring
storage position
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
CN202110443559.1A
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.)
Shenzhen One Account Technology Co ltd
OneConnect Smart Technology Co Ltd
Original Assignee
Shenzhen One Account 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 Shenzhen One Account Technology Co ltd filed Critical Shenzhen One Account Technology Co ltd
Priority to CN202110443559.1A priority Critical patent/CN113094526A/en
Publication of CN113094526A publication Critical patent/CN113094526A/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/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/538Presentation of query results

Abstract

The invention discloses a method for uploading and displaying pictures in batches, wherein the method for uploading the pictures in batches comprises the following steps: s1, acquiring batch picture files uploaded by a user; s2 generating MD5 codes of each picture file; s3, acquiring the one-to-one correspondence between the picture files and the MD5 codes; simultaneously acquiring the storage position information of the picture file corresponding to the MD5 code; s4, searching and storing the storage position of the corresponding picture file according to the storage position information, through the method of the invention, all the uploaded pictures can be displayed according to the initial submitted sequence, and the problems that the table data is huge due to long-time accumulation, the query time is long and the database pressure caused by concurrency is reduced can be avoided.

Description

Picture batch uploading and displaying method and device, computer equipment and storage medium
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a method and a device for uploading and displaying pictures in batches, computer equipment and a storage medium
Background
With the rapid development and popularization of the internet, the demand of users for sharing multimedia information through the internet is continuously enhanced, wherein the application of picture uploading is the most popular, various applications such as network-based electronic commerce systems and social platforms use pictures uploaded by the users as basic elements, and the convenience in the picture uploading process determines the experience of the users to a great extent.
In the process of uploading multiple pictures, a parallel processing technology is usually adopted at present, a system processes multiple files simultaneously, due to different picture sizes, some pictures are originally required to be placed in front, but actually placed in the rear for processing during actual processing, so that the picture sequence uploaded and returned is not the sequence originally expected, and the picture sequence is required to be manually adjusted by a user.
Disclosure of Invention
The invention aims to provide a method for uploading and displaying pictures in batches, which aims to solve the problems in the prior art.
In order to achieve the above object, the present invention provides a method for uploading and displaying pictures in batch, wherein the method for uploading pictures in batch comprises the following steps:
s1, acquiring batch picture files uploaded by a user;
s2 generating MD5 codes of each picture file;
s3, acquiring the one-to-one correspondence between the picture files and the MD5 codes; simultaneously acquiring the storage position information of the picture file corresponding to the MD5 code;
and S4, searching and storing the storage position of the corresponding picture file according to the storage position information.
Preferably, in step S3, the correspondence between the picture files and the MD5 codes and the storage location information of the picture files corresponding to the MD5 codes are stored in an information server.
Preferably, in step S4, the picture file is stored in a file server.
Preferably, in the step S3, the picture file is renamed by using the MD5 code corresponding to the picture file, so as to obtain the one-to-one correspondence between the picture file and the MD5 code.
Preferably, in step S3, the storage location information of the picture file corresponding to the MD5 code is acquired; the method comprises the following steps:
s31, establishing a relation index of the first two characters of the MD5 code value and the storage position of the picture file;
s32, respectively obtaining the first two characters of the code value of the MD5 picture file, searching the relation index according to the first two characters, and obtaining the storage position of the corresponding picture file.
Preferably, after the pictures are uploaded in batch, the method further comprises the steps of obtaining the query request and displaying in batch.
Further, the obtaining the query request and displaying in batch includes:
s5, acquiring a query request, and acquiring the picture files to be downloaded and the preset picture sequence according to the query request;
s6, acquiring an MD5 code corresponding to the picture file to be downloaded according to the one-to-one correspondence between the picture file and the MD5 code, acquiring the storage position of the picture to be downloaded according to the storage position information of the picture file corresponding to the MD5 code, and downloading the appointed picture file;
s7, according to the preset sequence, inserting the appointed picture files into corresponding positions and displaying in batch.
The invention also discloses a device for uploading and displaying pictures in batches, which comprises a picture batch uploading module, wherein the picture batch uploading module comprises:
the picture acquisition sub-module is used for acquiring batch picture files uploaded by a user;
an MD5 code generation submodule for generating an MD5 code of each picture file;
the relation storage submodule is used for acquiring the one-to-one corresponding relation between the picture file and the MD5 code; simultaneously acquiring the storage position information of the picture file corresponding to the MD5 code;
and the picture storage submodule is used for searching and storing the storage position of the corresponding picture file according to the storage position information.
Preferably, in the relationship storage submodule, the correspondence between the picture file and the MD5 code and the storage location information of the picture file corresponding to the MD5 code are stored in an information server;
preferably, the relationship storage sub-module further includes a corresponding relationship storage unit, and the corresponding relationship storage unit is configured to rename the picture file by using the MD5 code corresponding to the picture file, so as to obtain a one-to-one correspondence between the picture file and the MD5 code.
Preferably, the relationship storage submodule further includes a position relationship storage unit, the position relationship storage unit includes a data table setting subunit, which is used for setting a data table, and the data table stores the position relationship between the first two characters of the MD value and the corresponding file; and the storage position acquisition unit is used for acquiring the first two characters of the MD5 value of the picture file, and searching the data table according to the first two characters to acquire the corresponding storage position of the picture file in the database.
Preferably, in the picture storage sub-module, the picture file is asynchronously uploaded to a file server for storage.
Preferably, the device for uploading and displaying pictures in batches further comprises a picture batch display module, wherein the picture batch display module is used for acquiring the pictures requested by the query and displayed in batches.
Further, the picture batch display module comprises:
the query request acquisition sub-module is used for acquiring a query request and acquiring the picture files to be downloaded and the preset picture sequence according to the query request;
the picture downloading submodule is used for acquiring the MD5 code corresponding to the picture file to be downloaded according to the one-to-one corresponding relation, acquiring the storage position of the picture to be downloaded according to the storage position information of the picture file corresponding to the MD5 code and downloading the appointed picture file;
and the picture display submodule is used for inserting the specified picture files into corresponding positions according to the preset sequence and displaying the specified picture files in batches.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods described above when executing the computer program.
The invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the methods described above.
According to the method, the device, the computer equipment and the storage medium for uploading and displaying the pictures in batches, the picture information and the picture storage are separately placed, all uploaded pictures can be displayed according to the initially submitted sequence, the phenomenon that the data of the table is huge due to long-time accumulation and the data is long in query time can be avoided, and the database pressure caused by concurrence is reduced.
Drawings
Fig. 1 is a schematic view of a work flow of an embodiment of a method for uploading and displaying pictures in batch according to the present invention;
fig. 2 is a schematic view of a work flow of another embodiment of a method for batch uploading and displaying pictures according to the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of a device for batch uploading and displaying pictures according to the present invention;
FIG. 4 is a schematic structural diagram of another embodiment of a device for batch uploading and displaying pictures according to the present invention;
FIG. 5 is a schematic structural diagram of a batch display module for pictures in the embodiment shown in FIG. 4;
fig. 6 is a schematic structural diagram of a computer device 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 further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the scope of the invention in any way.
Like reference numerals refer to like elements throughout the specification. The expression "and/or" includes any and all combinations of one or more of the associated listed items. In the drawings, the thickness, size, and shape of an object have been slightly exaggerated for convenience of explanation. The figures are purely diagrammatic and not drawn to scale.
It will be further understood that the terms "comprises," "comprising," "includes," "including," "has," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, integers, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, integers, operations, elements, components, and/or groups thereof.
The terms "substantially", "about" and the like as used in the specification are used as terms of approximation and not as terms of degree, and are intended to account for inherent deviations in measured or calculated values that would be recognized by one of ordinary skill in the art.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Example one
As shown in fig. 1, the invention provides a method for uploading and displaying pictures in batch, wherein the method for uploading pictures in batch comprises the following steps:
s1, acquiring batch picture files uploaded by a user;
s2 generating MD5 codes of each picture file;
s3, acquiring the one-to-one correspondence between the picture files and the MD5 codes; simultaneously acquiring the storage position information of the picture file corresponding to the MD5 code;
and S4, searching and storing the storage position of the corresponding picture file according to the storage position information.
According to the method for uploading and displaying the pictures in batches, all the uploaded pictures can be displayed according to the initially submitted sequence, the problem that the data of the table is huge due to long-time accumulation and the query time is long can be avoided, and the database pressure caused by concurrence is reduced.
In one embodiment, the invention provides a method for uploading and displaying pictures in batch, wherein the method for uploading the pictures in batch comprises the following steps:
s110, acquiring batch picture files uploaded by a user;
s120, generating an MD5 code of each picture file;
the MD5, which is called Message-Digest Algorithm 5, fifth edition of Message Digest Algorithm, is one of the widely used hash algorithms in the current computer field for ensuring the integrity and consistency of information transmission, MD5 processes input information in 512-bit packets, each packet is divided into 16 32-bit sub-packets, after a series of processing, the output of the Algorithm is composed of four 32-bit packets, and the four 32-bit packets are concatenated to generate a 128-bit hash value. In this embodiment, the MD5 code generation process of the picture file is as follows:
s121 filling: if the length of the input information (bit) is not equal to 448 as a result of the remainder for 512, padding is required so that the result of the remainder for 512 is equal to 448. The method of padding is to pad one 1 and n 0. After filling, the length of the information is N × 512+448 (bit);
s122 record information length: the pre-padding information length is stored with 64 bits. These 64 bits are added after the result of the first step, so that the information length becomes N512 +448+64 ═ N +1 ═ 512 bits.
S123 loads the standard magic number (four integers): the standard magic numbers (physical order) are (a ═ 01234567)16, B ═ 89ABCDEF)16, C ═ FEDCBA98)16, and D ═ 76543210) 16. If defined in the program, it should be (a ═ 0X67452301L, B ═ 0 xefclab 89L, C ═ 0X98BADCFEL, D ═ 0X 10325476L).
S124 four-cycle operation: the number of cycles is the number of groups (N +1)
1) Each 512 bytes is subdivided into 16 subgroups of 64 bits (8 bytes) each
2) First, four linear functions are recognized (& is AND, | is OR, -is not, | is XOR)
3) Let Mj denote the jth sub-packet (from 0 to 15) </s of a message
4) Four wheel operation
5) After each cycle, a, B, C and D are added to a, B, C and D respectively, and then the next cycle is carried out.
S130, acquiring a one-to-one correspondence relationship between the picture file and the MD5 code; simultaneously acquiring the storage position information of the picture file corresponding to the MD5 code;
as a preferable scheme, in this embodiment, the name of the picture file storage is named as MD5 code corresponding to the picture file, so as to obtain a one-to-one correspondence relationship between the picture file and MD5 code, that is, the name of the picture file storage is directly named as MD5 code of the file. Meanwhile, in this embodiment, after obtaining the corresponding relationship between the picture file and the MD5 code, the relationship between the picture file and the MD5 code is sent to the information server, and then the information server performs database dropping,
as a preferable scheme, in this embodiment, the storage location information of the picture file corresponding to the MD5 code is obtained; the method comprises the following steps:
s131, establishing a relation index of the first two characters of the MD5 code value and the storage position of the picture file;
in step S131, the data table is designed according to the MD5 code naming rule, and if the characters allowed to appear in MD5 are preset to be 0-9, a-f, the corresponding table name is designed as follows:
stds_info_00,stds_info_01...stds_info_0f,
stds_info_10,stds_info_11...stds_info_1f,
...
stds_info_f0,stds_info_f1...stds_info_ff。
the first two characters of the MD5 code value in the data table name are indexed with the corresponding database and for the relationship between the two.
S132, respectively obtaining the first two characters of the code value of the image file MD5, searching the relation index according to the first two characters, and obtaining the storage position of the corresponding image file.
In this embodiment, when uploading a picture file to a file server, first two characters of a code MD5 are first intercepted, and then a corresponding storage location of the picture file in a database is searched in the data table according to the first two characters of the code MD 5; if the picture file corresponds to MD5 of 9970D2D0D57931165AB13152203F12B9, the first two digits are 99, and the corresponding database is found to be stds _ info _ 99.
Furthermore, in this embodiment, the MD5 code and the corresponding storage location information of the picture file are also stored in an information server.
S140, searching and storing the storage position of the corresponding picture file according to the storage position information.
In step S140, according to the storage location information obtained in step S130, a storage location corresponding to the picture file is found, that is, the MD5 and the file location information uploaded to the server are inserted and then stored.
As a preferred scheme, as shown in fig. 2, in this embodiment, obtaining the query request and performing batch display includes the following steps:
s5, acquiring a query request, and acquiring the picture files to be downloaded and the preset picture sequence according to the query request;
s6, acquiring the MD5 code corresponding to the picture file to be downloaded according to the one-to-one correspondence, acquiring the storage position of the picture to be downloaded according to the storage position information, and downloading the appointed picture file;
s7, according to the preset sequence, inserting the appointed picture files into corresponding positions and displaying in batch.
When the corresponding query is displayed, the upper system only needs to find the corresponding MD5 code according to the locally stored name and the MD5 information, the content server still intercepts the former two digits of the MD5, finds the corresponding data table, and then queries the corresponding file data needing to be downloaded.
In this embodiment, the correspondence between the picture file and the MD5 code, and the MD5 code and the picture file storage location relationship, that is, storage location information, are stored in an information server. The picture file is asynchronously uploaded to a file server for storage, and correspondingly, the steps of acquiring the query request and displaying in batch specifically comprise:
s150, acquiring a query request; in this embodiment, an upstream system user may send a query request through a provided api client or the like; after the system acquires the upstream query request, analyzing the query request to acquire file stream information, wherein the file stream information comprises the picture files to be downloaded and preset picture sequencing;
s160, acquiring the MD5 code corresponding to the picture file to be downloaded according to the one-to-one correspondence; in this embodiment, the information server is queried, and MD5 information corresponding to the picture to be downloaded and stored is obtained according to the one-to-one correspondence between the picture file stored in the information server and the MD5 code; then, continuously inquiring the information server, acquiring the storage position of the picture file to be downloaded in the file server according to the storage position information of the picture file corresponding to the MD5 code stored in the information server, transferring the picture file to the file server, and downloading the specified picture file according to the storage position;
s170, inserting the appointed picture file into a corresponding position according to the preset sequence and displaying.
After the corresponding pictures are obtained, the appointed picture files are inserted into the corresponding positions according to the preset sequence in the query request and displayed, and then the batch display of the pictures is completed.
Example two
The invention discloses a device 10 for uploading and displaying pictures in batches, which comprises a picture batch uploading module 11, wherein as shown in figure 3, the picture batch uploading module 11 comprises:
the picture acquisition submodule 111 is used for acquiring batch picture files uploaded by a user;
an MD5 code generating sub-module 112, configured to generate an MD5 code for each of the picture files;
the relationship storage submodule 113 is configured to obtain a one-to-one correspondence relationship between the picture file and the MD5 code; simultaneously acquiring the storage position information of the picture file corresponding to the MD5 code;
and the picture storage sub-module 114 is configured to search and store a storage location of the corresponding picture file according to the storage location information.
Preferably, in the relationship storage sub-module 113, the correspondence relationship between the picture file and the MD5 code, and the storage location information of the picture file corresponding to the MD5 code are stored in an information server;
preferably, the relationship storage sub-module 113 further includes a corresponding relationship storage unit, and the corresponding relationship storage unit is configured to rename the picture file by using the MD5 code corresponding to the picture file, so as to obtain a one-to-one correspondence between the picture file and the MD5 code.
Preferably, the relationship storage sub-module 113 further includes a position relationship storage unit, where the position relationship storage unit includes a relationship index establishment sub-unit, configured to establish a relationship index between the first two characters of the MD5 code value and the storage position of the picture file; and the storage position acquisition unit is used for respectively acquiring the first two characters of the code value of the image file MD5, searching the relation index according to the first two characters and acquiring the storage position of the corresponding image file.
Preferably, in the picture storage sub-module 114, the picture file is asynchronously uploaded to a file server for storage.
Preferably, as shown in fig. 4, the device for uploading and displaying pictures in batches disclosed by the present invention further includes a picture batch display module 12, and the picture batch display module 12 is configured to obtain the pictures requested by the query and displayed in batches.
Further, as shown in fig. 5, the picture batch display module 12 includes:
the query request acquisition submodule 121 is configured to acquire a query request, and acquire the picture files to be downloaded and preset picture ranks according to the query request;
the picture downloading submodule 122 is configured to obtain the MD5 code corresponding to the picture file to be downloaded according to the one-to-one correspondence, obtain the storage location of the picture to be downloaded according to the storage location information, and download the specified picture file;
and the picture display submodule 123 is configured to insert the designated picture files into corresponding positions according to the preset sequence and display the designated picture files in batches.
EXAMPLE III
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server, or a rack-mounted server (including an independent server or a server cluster formed by multiple servers) that can execute programs. The computer device 20 of the present embodiment includes at least, but is not limited to: a memory 21, a processor 22, which may be communicatively coupled to each other via a system bus, as shown in FIG. 6. It is noted that fig. 6 only shows a computer device 20 with components 21-22, but it is to be understood that not all shown components are required to be implemented, and that more or fewer components may be implemented instead.
In this embodiment, the memory 21 (i.e., the readable storage medium) includes a Flash memory, a hard disk, a multimedia Card, a Card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), and a Programmable Read Only Memory (PROM) memory 21, and the memory 21 may also be an external storage device of the computer device 20, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), and the like, which are provided on the computer device 20. Of course, the memory 21 may also include both internal and external storage devices of the computer device 20. In this embodiment, the memory 21 is generally used to store an operating system and various application software installed in the computer device 20, such as program codes of the picture batch uploading and displaying method in the method embodiment. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the computer device 20. In this embodiment, the processor 22 is configured to run the program codes stored in the memory 21 or process data, for example, run the device 10 for uploading and displaying pictures in batches, so as to implement the method for uploading and displaying pictures in batches in the method embodiment.
Example four
The present application also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, which when executed by a processor implements corresponding functions. The computer-readable storage medium of this embodiment is used for the device 10 for uploading and displaying pictures in batches, and when being executed by a processor, the method for uploading and displaying pictures in batches of the embodiment is implemented.
It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. The method for uploading and displaying pictures in batches is characterized by comprising the following steps of:
s1, acquiring batch picture files uploaded by a user;
s2 generating MD5 codes of each picture file;
s3, acquiring the corresponding relation between the picture file and the MD5 code; simultaneously acquiring the storage position information of the picture file corresponding to the MD5 code;
and S4, searching and storing the storage position of the corresponding picture file according to the storage position information.
2. The method for uploading and displaying the pictures in batches according to claim 1, wherein after the pictures are uploaded in batches, the method further comprises obtaining a query request and displaying the pictures in batches.
3. The method for uploading and displaying the pictures in batches according to claim 2, wherein the step of obtaining the query request and displaying the pictures in batches comprises the following steps:
s5, acquiring a query request, and acquiring the picture files to be downloaded and the preset picture sequence according to the query request;
s6, acquiring the MD5 code corresponding to the picture file to be downloaded according to the corresponding relation, acquiring the storage position of the picture to be downloaded according to the storage position information and downloading the appointed picture file;
s7, according to the preset sequence, inserting the appointed picture files into corresponding positions and displaying in batch.
4. The method as claimed in claim 1, wherein in step S3, the step of obtaining the storage location information of the picture file corresponding to the MD5 code includes the steps of:
s31, establishing a relation index of the first two characters of the MD5 code value and the storage position of the picture file;
s32, respectively obtaining the first two characters of the code value of the MD5 picture file, searching the relation index according to the first two characters, and obtaining the storage position of the corresponding picture file.
5. The method as claimed in claim 1, wherein in step S3, the correspondence between the picture files and MD5 codes and the storage location information of the picture files corresponding to MD5 codes are stored in an information server.
6. The method as claimed in claim 5, wherein in step S3, the image files are renamed by the MD5 codes corresponding to the image files, and a one-to-one correspondence between the image files and the MD5 codes is obtained.
7. The method for uploading and displaying pictures in batches according to claim 1, wherein in step S4, the picture file is stored in a file server.
8. The utility model provides a picture is uploaded and display device in batches, its characterized in that, includes picture and uploads the module in batches, the picture uploads the module in batches and includes:
the picture acquisition sub-module is used for acquiring batch picture files uploaded by a user;
an MD5 code generation submodule for generating an MD5 code of each picture file;
the relation storage submodule is used for acquiring the one-to-one corresponding relation between the picture file and the MD5 code; simultaneously acquiring the storage position information of the picture file corresponding to the MD5 code;
and the picture storage submodule is used for searching and storing the storage position of the corresponding picture file according to the storage position information.
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, when executing the computer program, realizes the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implements the steps of the method of any one of claims 1 to 7.
CN202110443559.1A 2021-04-23 2021-04-23 Picture batch uploading and displaying method and device, computer equipment and storage medium Pending CN113094526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110443559.1A CN113094526A (en) 2021-04-23 2021-04-23 Picture batch uploading and displaying method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110443559.1A CN113094526A (en) 2021-04-23 2021-04-23 Picture batch uploading and displaying method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113094526A true CN113094526A (en) 2021-07-09

Family

ID=76679635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110443559.1A Pending CN113094526A (en) 2021-04-23 2021-04-23 Picture batch uploading and displaying method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113094526A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542822A (en) * 2021-07-12 2021-10-22 中国银行股份有限公司 Image file transmission method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904931A (en) * 2012-09-19 2013-01-30 河南锐之旗信息技术有限公司 Method for storing and reading picture
CN107239522A (en) * 2017-05-26 2017-10-10 努比亚技术有限公司 Picture storage method, equipment and computer-readable storage medium
CN109086451A (en) * 2018-08-24 2018-12-25 江苏神州信源系统工程有限公司 A kind of picture storage and retrieval method and apparatus
CN109740473A (en) * 2018-12-25 2019-05-10 东莞市七宝树教育科技有限公司 A kind of image content automark method and system based on marking system
CN110958292A (en) * 2019-09-17 2020-04-03 平安银行股份有限公司 File uploading method, electronic device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904931A (en) * 2012-09-19 2013-01-30 河南锐之旗信息技术有限公司 Method for storing and reading picture
CN107239522A (en) * 2017-05-26 2017-10-10 努比亚技术有限公司 Picture storage method, equipment and computer-readable storage medium
CN109086451A (en) * 2018-08-24 2018-12-25 江苏神州信源系统工程有限公司 A kind of picture storage and retrieval method and apparatus
CN109740473A (en) * 2018-12-25 2019-05-10 东莞市七宝树教育科技有限公司 A kind of image content automark method and system based on marking system
CN110958292A (en) * 2019-09-17 2020-04-03 平安银行股份有限公司 File uploading method, electronic device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542822A (en) * 2021-07-12 2021-10-22 中国银行股份有限公司 Image file transmission method and device
CN113542822B (en) * 2021-07-12 2023-01-06 中国银行股份有限公司 Image file transmission method and device

Similar Documents

Publication Publication Date Title
CN102420843B (en) A kind of compression and decompression method, Apparatus and system based on cloud compression link
CN109391509A (en) A kind of method, system and the application server of more new application
CN110737659A (en) Graph data storage and query method, device and computer readable storage medium
US20100115126A1 (en) Automated conversion of versioned data collections
CN108897874B (en) Method and apparatus for processing data
US20020055915A1 (en) System and method for high speed string matching
CN108228799B (en) Object index information storage method and device
CN111580965A (en) Data request processing method and system
CN111400308A (en) Processing method of cache data, electronic device and readable storage medium
CN110020272B (en) Caching method and device and computer storage medium
CN113094526A (en) Picture batch uploading and displaying method and device, computer equipment and storage medium
US11947553B2 (en) Distributed data processing
CN110555020B (en) Mapping relation establishing and data querying methods, devices and equipment
CN116578746A (en) Object de-duplication method and device
CN114090593A (en) Data synchronous display method, device, terminal and storage medium
CN109165259B (en) Index table updating method based on network attached storage, processor and storage device
CN111949648B (en) Memory data caching system and data indexing method
CN113452733A (en) File downloading method and device
CN111831744A (en) DAPP on-chain data retrieval system, method and medium
CN113641706A (en) Data query method and device
CN111432013A (en) Configuration item issuing method, configuration item acquiring method, equipment and readable storage medium
CN111046106A (en) Cache data synchronization method, device, equipment and medium
US11750392B1 (en) Authenticated index data structure with back-pointers
CN109857719B (en) Distributed file processing method, device, computer equipment and storage medium
CN111382379B (en) Method and terminal for importing configuration data with pictures

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210709