CN107967305B - Image file uploading method, server and readable storage medium - Google Patents

Image file uploading method, server and readable storage medium Download PDF

Info

Publication number
CN107967305B
CN107967305B CN201711107655.9A CN201711107655A CN107967305B CN 107967305 B CN107967305 B CN 107967305B CN 201711107655 A CN201711107655 A CN 201711107655A CN 107967305 B CN107967305 B CN 107967305B
Authority
CN
China
Prior art keywords
database
user
service system
image file
hard disk
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.)
Active
Application number
CN201711107655.9A
Other languages
Chinese (zh)
Other versions
CN107967305A (en
Inventor
罗国强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201711107655.9A priority Critical patent/CN107967305B/en
Priority to PCT/CN2018/077621 priority patent/WO2019091023A1/en
Publication of CN107967305A publication Critical patent/CN107967305A/en
Application granted granted Critical
Publication of CN107967305B publication Critical patent/CN107967305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The invention relates to an image file uploading method, a server and a readable storage medium, wherein the method comprises the following steps: when an image file uploading request sent by a service system user is received, the database read-write module determines whether the service system user has access authority or not according to user access authority information prestored in the memory; when the service system user has the access right, the database read-write module determines the database and the hard disk corresponding to the service system user according to the corresponding relationship among the user, the database and the hard disk prestored in the memory, and notifies the file read-write module of the determined hard disk; the file read-write module writes the image file of the service system user into the hard disk notified by the database read-write module; and after the file reading and writing module successfully writes the file, the database reading and writing module writes the uploading information into a database corresponding to the service system user. The invention reduces the concurrency pressure and improves the system availability.

Description

Image file uploading method, server and readable storage medium
Technical Field
The invention relates to the technical field of computers, in particular to an image file uploading method, a server and a readable storage medium.
Background
Generally, a plurality of business systems are arranged in an enterprise, when each business system uploads a file to the image system, the image system needs to access a database and a hard disk once when receiving a request, when a large number of concurrent requests are received, the pressure on the database and the hard disk caused by frequent access is very large, the requests of the business systems cannot be responded in time, and the usability of each system is reduced.
Disclosure of Invention
The invention aims to provide an image file uploading method, a server and a readable storage medium, aiming at reducing concurrency pressure and improving system availability.
In order to achieve the above object, the present invention provides an image file uploading server, which includes a memory and a processor, wherein the memory stores an image file uploading system capable of running on the processor, and the image file uploading system, when executed by the processor, implements the following steps:
when an image file uploading request sent by a service system user is received, a database read-write module determines whether the service system user has access authority or not according to user access authority information prestored in a memory;
when the service system user has access right, the database read-write module determines a database and a hard disk corresponding to the service system user according to corresponding relations among users, the database and the hard disk prestored in a memory, and notifies the file read-write module of the determined hard disk;
the file read-write module writes the image file of the service system user into the hard disk notified by the database read-write module;
and after the file reading and writing module successfully writes the file, the database reading and writing module writes the uploading information into a database corresponding to the service system user.
Preferably, the processor is further configured to execute the image file uploading system to implement the following steps:
and the database reading and writing module reads the user access authority information in the main database and the corresponding relation information between the user and the database as well as between the user and the hard disk into the memory.
Preferably, the user access right information includes a corresponding relationship between the service system user and the database and hard disk which have the right to access.
Preferably, the processor is further configured to execute the image file uploading system to implement the following steps:
and after the file reading and writing module successfully writes, the data reading and writing module is informed.
In addition, to achieve the above object, the present invention further provides an image file uploading method, which is applied to an image file uploading server, and the method includes:
when an image file uploading request sent by a service system user is received, a database read-write module determines whether the service system user has access authority or not according to user access authority information prestored in a memory;
when the service system user has access right, the database read-write module determines a database and a hard disk corresponding to the service system user according to corresponding relations among users, the database and the hard disk prestored in a memory, and notifies the file read-write module of the determined hard disk;
the file read-write module writes the image file of the service system user into the hard disk notified by the database read-write module;
and after the file reading and writing module successfully writes the file, the database reading and writing module writes the uploading information into a database corresponding to the service system user.
Preferably, before the step of determining, by the database read/write module, whether the service system user has an access right according to user access right information prestored in the memory, the method further includes:
and the database reading and writing module reads the user access authority information in the main database and the corresponding relation information between the user and the database as well as between the user and the hard disk into the memory.
Preferably, the user access right information includes a corresponding relationship between the service system user and the database and hard disk which have the right to access.
Preferably, before the step of writing the upload information into the database corresponding to the service system user by the database read-write module, the method further includes: and after the file reading and writing module successfully writes, the data reading and writing module is informed.
Preferably, after the step of writing the upload information into the database corresponding to the service system user by the database read-write module, the method further includes: and the database read-write module informs the service system that the user successfully writes.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium storing an image file uploading system, which is executable by at least one processor, so that the at least one processor executes the steps of the image file uploading method.
The image file uploading method, the system and the readable storage medium provided by the invention separate the database access from the file read-write service in the image file uploading server, when receiving an image file uploading request sent by a service system user, the database read-write module determines whether the service system user has access authority according to user access authority information prestored in the memory, when the business system user has access right, the database read-write module determines the database and the hard disk corresponding to the business system user according to the corresponding relationship among the user, the database and the hard disk pre-stored in the memory, notifying the determined hard disk to a file read-write module, and writing the image file of the service system user into the hard disk notified by the database read-write module by the file read-write module; after the file reading and writing module successfully writes the file, the database reading and writing module writes the uploading information into a database corresponding to the service system user, so that frequent query requests for a main database are avoided, concurrency pressure is reduced, and system availability is improved. In addition, the number of the database and the hard disk can be flexibly expanded according to the requirement.
Drawings
FIG. 1 is a schematic diagram illustrating an operating environment of an image file uploading system 10 according to a preferred embodiment of the present invention;
fig. 2 is a schematic diagram of an application environment associated with a plurality of service systems in an embodiment of the image file uploading system 10 according to the present invention;
fig. 3 is a flowchart illustrating an image file uploading method 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 is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides an image file uploading system. Please refer to fig. 1, which is a schematic diagram illustrating an operating environment of an image file uploading system 10 according to a preferred embodiment of the present invention.
In the present embodiment, the image file uploading system 10 is installed and operated in the image file uploading server 1. The image file uploading server 1 may include, but is not limited to, a memory 11, a processor 12 and a display 13. Fig. 1 only shows the server 1 with components 11-13, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The storage 11 is at least one type of readable computer storage medium, and the storage 11 may be an internal storage unit of the server 1 in some embodiments, such as a hard disk or a memory of the server 1. The memory 11 may also be an external storage device of the server 1 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the server 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the server 1. The memory 11 is used for storing application software installed in the server 1 and various data, such as program codes of the image file uploading system 10. The memory 11 may also be used to temporarily store data that has been output or is to be output.
The processor 12 may be a Central Processing Unit (CPU), a microprocessor or other data Processing chip in some embodiments, and is used for running program codes stored in the memory 11 or Processing data, such as executing the image file uploading system 10.
The display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 13 is used for displaying information processed in the server 1 and for displaying a visual user interface, such as user access right information, writing success prompt information, and the like. The components 11-13 of the server 1 communicate with each other via a system bus.
Image file upload system 10 includes at least one computer readable instruction stored in memory 11 that is executable by processor 12 to implement embodiments of the present application.
When executed by the processor 12, the image file uploading system 10 implements the following steps:
step S1, when receiving an image file upload request sent by a service system user, the database read/write module determines whether the service system user has access right according to the user access right information pre-stored in the memory.
In this embodiment, the image file uploading system 10 receives an image file uploading request sent by a user, for example, receives an image file uploading request sent by a user through a terminal such as a mobile phone, a tablet computer, and a self-service terminal device, for example, receives an image file uploading request sent by a user on a client pre-installed in a terminal such as a mobile phone, a tablet computer, and a self-service terminal device, or receives an image file uploading request sent by a user on a browser system in a terminal such as a mobile phone, a tablet computer, and a self-service terminal device.
In this embodiment, as shown in fig. 2, fig. 2 is a schematic view of an application environment associated with a plurality of service systems in an embodiment of the image file uploading system 10 of the present invention. Each image file uploading server can serve a plurality of service systems, and each service system user can send an image file uploading request to the image file uploading server.
The memory of the image file uploading server is pre-stored with user access authority information. The user access right information may be identification information of each service system user having access right, for example, an identification information table may be prestored, and the table stores identifications of all service system users having access right. Or, the user access authority information may also be a corresponding relationship between the service system user and the database and hard disk that have authority to access. For example, the user access right information may be a table of correspondence between the service system users, the database, and the hard disk, each service system user in the table has an access right, and by querying the table, it is possible to know whether the service system user of the upload request has an access right, and also know the database and the hard disk accessible by each service system user.
Step S2, when the service system user has access right, the database read/write module determines the database and the hard disk corresponding to the service system user according to the correspondence between the user and the database and the hard disk pre-stored in the memory, and notifies the file read/write module of the determined hard disk.
It can be understood that the correspondence relationship between the user and the database and the hard disk pre-stored in the memory is the correspondence relationship between the user of the service system and the database and the hard disk which are authorized to access. For example, by querying the corresponding relationship table, the database and the hard disk which are accessed by the service system user who sends the upload request and has the right can be obtained.
The database read-write module can inform the file read-write module of the information such as the identification or the number of the hard disk.
Step S3, the file read/write module writes the image file of the service system user into the hard disk notified by the database read/write module.
And step S4, after the file reading and writing module successfully writes, the database reading and writing module writes the uploading information into a database corresponding to the service system user.
In this embodiment, in addition to writing the upload information into the database corresponding to the service system user, the database read-write module may also write the upload information this time into the master database.
In this embodiment, by separating a database access from a file read-write service in an image file upload server, when an image file upload request sent by a service system user is received, a database read-write module determines whether the service system user has an access right according to user access right information pre-stored in a memory, and when the service system user has an access right, the database read-write module determines a database and a hard disk corresponding to the service system user according to a correspondence between the user pre-stored in the memory and the database and the hard disk, and notifies the determined hard disk to a file read-write module, and the file read-write module writes an image file of the service system user into the hard disk notified by the database read-write module; after the file reading and writing module successfully writes the file, the database reading and writing module writes the uploading information into a database corresponding to the service system user, so that frequent query requests for a main database are avoided, concurrency pressure is reduced, and system availability is improved. In addition, the number of the database and the hard disk can be flexibly expanded according to the requirement.
Further, in an optional embodiment, on the basis of the above embodiment, before the image file uploading system 10 is executed by the processor 12 to implement the step S1, the method may further include the following steps:
and the database reading and writing module reads the user access authority information in the main database and the corresponding relation information between the user and the database as well as between the user and the hard disk into the memory.
In this embodiment, when the database read-write module is started, the data related to the query operation stored in the main database may be read into the memory. The data related to the query operation may include the user right access information, database configuration information, hard disk information, and the like. The user access authority information includes which databases and hard disks different users of each service system have access authority. The database configuration information includes the number of currently configured databases (for example, 30 databases) of the database system, the number of each database, the service system of the service, and the like. The hard disk information includes the number of hard disks configured in the current storage system, the number and storage capacity of each hard disk, the service system of the service, and the like. Therefore, the image file uploading server can automatically acquire the user access authority information, the corresponding relation information between the user and the database and between the user and the hard disk, and the like, and the data of the query operation of the main database is cached at the server side, so that the frequent query request of the main database is avoided.
In addition, the user access authority information in the main database and the corresponding relation information between the user and the database as well as between the user and the hard disk can be manually stored in the memory, or the database read-write module is started to read the user access authority information in the main database and the corresponding relation information between the user and the database as well as between the user and the hard disk into the memory by manually sending an instruction.
Further, in an optional embodiment, on the basis of the above embodiment, before the image file uploading system 10 is executed by the processor 12 to implement the step S4, the method may further include the following steps:
and after the file reading and writing module successfully writes, the database reading and writing module is informed. For example, the file read-write module may send indication information to the database read-write module, where the indication information may carry identification information of a service system user, so that the database read-write module may determine which service system user is successfully written according to the indication information, and may further correspondingly write the upload information of the service system user this time into a database corresponding to the service system user.
Further, in an optional embodiment, on the basis of the foregoing embodiment, after the processor 12 executes the step S4, the method may further include the following steps:
and the database read-write module informs the service system that the user successfully writes. For example, the database read-write module may send indication information of successful writing to the service system user, so that the user can timely know whether the image file uploaded by the user is successfully written.
As shown in fig. 3, fig. 3 is a schematic flow chart of an embodiment of an image file uploading method according to the present invention, and the image file uploading method includes the following steps:
step S10, when receiving an image file upload request sent by a service system user, the database read/write module determines whether the service system user has access right according to the user access right information pre-stored in the memory.
In this embodiment, the image file uploading system 10 receives an image file uploading request sent by a user, for example, receives an image file uploading request sent by a user through a terminal such as a mobile phone, a tablet computer, and a self-service terminal device, for example, receives an image file uploading request sent by a user on a client pre-installed in a terminal such as a mobile phone, a tablet computer, and a self-service terminal device, or receives an image file uploading request sent by a user on a browser system in a terminal such as a mobile phone, a tablet computer, and a self-service terminal device.
In this embodiment, as shown in fig. 2, fig. 2 is a schematic view of an application environment associated with a plurality of service systems in an embodiment of the image file uploading system 10 of the present invention. Each image file uploading server can serve a plurality of service systems, and each service system user can send an image file uploading request to the image file uploading server.
The memory of the image file uploading server is pre-stored with user access authority information. The user access right information may be identification information of each service system user having access right, for example, an identification information table may be prestored, and the table stores identifications of all service system users having access right. Or, the user access authority information may also be a corresponding relationship between the service system user and the database and hard disk that have authority to access. For example, the user access right information may be a table of correspondence between the service system users, the database, and the hard disk, each service system user in the table has an access right, and by querying the table, it is possible to know whether the service system user of the upload request has an access right, and also know the database and the hard disk accessible by each service system user.
Step S20, when the service system user has access right, the database read/write module determines the database and the hard disk corresponding to the service system user according to the correspondence between the user and the database and the hard disk pre-stored in the memory, and notifies the file read/write module of the determined hard disk.
It can be understood that the correspondence relationship between the user and the database and the hard disk pre-stored in the memory is the correspondence relationship between the user of the service system and the database and the hard disk which are authorized to access. For example, by querying the corresponding relationship table, the database and the hard disk which are accessed by the service system user who sends the upload request and has the right can be obtained.
The database read-write module can inform the file read-write module of the information such as the identification or the number of the hard disk.
Step S30, the file read/write module writes the image file of the service system user into the hard disk notified by the database read/write module.
And step S40, after the file reading and writing module successfully writes, the database reading and writing module writes the uploading information into a database corresponding to the service system user.
In this embodiment, in addition to writing the upload information into the database corresponding to the service system user, the database read-write module may also write the upload information this time into the master database.
In this embodiment, by separating a database access from a file read-write service in an image file upload server, when an image file upload request sent by a service system user is received, a database read-write module determines whether the service system user has an access right according to user access right information pre-stored in a memory, and when the service system user has an access right, the database read-write module determines a database and a hard disk corresponding to the service system user according to a correspondence between the user pre-stored in the memory and the database and the hard disk, and notifies the determined hard disk to a file read-write module, and the file read-write module writes an image file of the service system user into the hard disk notified by the database read-write module; after the file reading and writing module successfully writes the file, the database reading and writing module writes the uploading information into a database corresponding to the service system user, so that frequent query requests for a main database are avoided, concurrency pressure is reduced, and system availability is improved. In addition, the number of the database and the hard disk can be flexibly expanded according to the requirement.
Further, in an optional embodiment, on the basis of the foregoing embodiment, before the step S10, the method may further include the following step:
and the database reading and writing module reads the user access authority information in the main database and the corresponding relation information between the user and the database as well as between the user and the hard disk into the memory.
In this embodiment, when the database read-write module is started, the data related to the query operation stored in the main database may be read into the memory. The data related to the query operation may include the user right access information, database configuration information, hard disk information, and the like. The user access authority information includes which databases and hard disks different users of each service system have access authority. The database configuration information includes the number of currently configured databases (for example, 30 databases) of the database system, the number of each database, the service system of the service, and the like. The hard disk information includes the number of hard disks configured in the current storage system, the number and storage capacity of each hard disk, the service system of the service, and the like. Therefore, the image file uploading server can automatically acquire the user access authority information, the corresponding relation information between the user and the database and between the user and the hard disk, and the like, and the data of the query operation of the main database is cached at the server side, so that the frequent query request of the main database is avoided.
In addition, the user access authority information in the main database and the corresponding relation information between the user and the database as well as between the user and the hard disk can be manually stored in the memory, or the database read-write module is started to read the user access authority information in the main database and the corresponding relation information between the user and the database as well as between the user and the hard disk into the memory by manually sending an instruction.
Further, in an optional embodiment, on the basis of the foregoing embodiment, before the step S40, the method may further include the following step:
and after the file reading and writing module successfully writes, the database reading and writing module is informed. For example, the file read-write module may send indication information to the database read-write module, where the indication information may carry identification information of a service system user, so that the database read-write module may determine which service system user is successfully written according to the indication information, and may further correspondingly write the upload information of the service system user this time into a database corresponding to the service system user.
Further, in an optional embodiment, on the basis of the foregoing embodiment, after the step S40, the method may further include the following step:
and the database read-write module informs the service system that the user successfully writes. For example, the database read-write module may send indication information of successful writing to the service system user, so that the user can timely know whether the image file uploaded by the user is successfully written.
In addition, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores an image file uploading system, and the image file uploading system is executable by at least one processor, so that the at least one processor executes the steps of the image file uploading method in the above embodiments, and the specific implementation procedures of the image file uploading method, such as steps S10, S20, S30, and the like, are as described above, and are not repeated herein.
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.
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 embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. 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. Additionally, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Those skilled in the art can implement the invention in various modifications, such as features from one embodiment can be used in another embodiment to yield yet a further embodiment, without departing from the scope and spirit of the invention. Any modification, equivalent replacement and improvement made within the technical idea of using the present invention should be within the scope of the right of the present invention.

Claims (10)

1. The image file uploading server is characterized by comprising a memory and a processor, wherein an image file uploading system capable of running on the processor is stored in the memory, and when being executed by the processor, the image file uploading system realizes the following steps:
when an image file uploading request sent by a service system user is received, a database read-write module determines whether the service system user has access authority or not according to user access authority information prestored in a memory;
when the service system user has access right, the database read-write module determines a database and a hard disk corresponding to the service system user according to corresponding relations among users, the database and the hard disk prestored in a memory, and notifies the file read-write module of the determined hard disk;
the file read-write module writes the image file of the service system user into the hard disk notified by the database read-write module;
and after the file reading and writing module successfully writes the file, the database reading and writing module writes the uploading information into a database corresponding to the service system user.
2. The image file upload server of claim 1, wherein the processor is further configured to execute the image file upload system to perform the steps of:
and the database reading and writing module reads the user access authority information in the main database and the corresponding relation information between the user and the database as well as between the user and the hard disk into the memory.
3. The image file upload server of claim 2, wherein the user access right information includes correspondence between the service system user and the database and the hard disk that are authorized to access.
4. The image file upload server of any one of claims 1 to 3, wherein the processor is further configured to execute the image file upload system to implement the steps of:
and after the file reading and writing module successfully writes, the database reading and writing module is informed.
5. An image file uploading method is applied to an image file uploading server, and is characterized by comprising the following steps:
when an image file uploading request sent by a service system user is received, a database read-write module determines whether the service system user has access authority or not according to user access authority information prestored in a memory;
when the service system user has access right, the database read-write module determines a database and a hard disk corresponding to the service system user according to corresponding relations among users, the database and the hard disk prestored in a memory, and notifies the file read-write module of the determined hard disk;
the file read-write module writes the image file of the service system user into the hard disk notified by the database read-write module;
and after the file reading and writing module successfully writes the file, the database reading and writing module writes the uploading information into a database corresponding to the service system user.
6. The image file uploading method according to claim 5, wherein before the step of determining, by the database read/write module, whether the service system user has access right according to user access right information pre-stored in a memory, the method further comprises:
and the database reading and writing module reads the user access authority information in the main database and the corresponding relation information between the user and the database as well as between the user and the hard disk into the memory.
7. The image file uploading method of claim 6, wherein the user access right information includes a correspondence between the service system user and the database and hard disk that are authorized to access.
8. The method for uploading image files according to any of claims 5 to 7, wherein before the step of writing the upload information of this time into the database corresponding to the service system user by the database read/write module, the method further comprises: and after the file reading and writing module successfully writes, the database reading and writing module is informed.
9. The method for uploading image files according to any of claims 5 to 7, wherein after the step of writing the upload information of this time into the database corresponding to the service system user by the database read/write module, the method further comprises: and the database read-write module informs the service system that the user successfully writes.
10. A computer-readable storage medium storing an image file uploading system executable by at least one processor to cause the at least one processor to perform the steps of the image file uploading method according to any one of claims 5 to 9.
CN201711107655.9A 2017-11-10 2017-11-10 Image file uploading method, server and readable storage medium Active CN107967305B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711107655.9A CN107967305B (en) 2017-11-10 2017-11-10 Image file uploading method, server and readable storage medium
PCT/CN2018/077621 WO2019091023A1 (en) 2017-11-10 2018-02-28 Video file uploading method, server and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711107655.9A CN107967305B (en) 2017-11-10 2017-11-10 Image file uploading method, server and readable storage medium

Publications (2)

Publication Number Publication Date
CN107967305A CN107967305A (en) 2018-04-27
CN107967305B true CN107967305B (en) 2022-02-01

Family

ID=62000935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711107655.9A Active CN107967305B (en) 2017-11-10 2017-11-10 Image file uploading method, server and readable storage medium

Country Status (2)

Country Link
CN (1) CN107967305B (en)
WO (1) WO2019091023A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846300B (en) * 2018-06-22 2022-06-28 联想(北京)有限公司 Information processing method and first electronic equipment
CN110912953A (en) * 2018-09-17 2020-03-24 深圳市优必选科技有限公司 File storage system and method
CN111444532A (en) * 2020-02-20 2020-07-24 山东浪潮通软信息科技有限公司 Image display method special for leasing business capable of being configured flexibly

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104494A (en) * 2009-12-18 2011-06-22 华为技术有限公司 Metadata server, out-of-band network file system and processing method of system
CN103246483A (en) * 2013-04-24 2013-08-14 Tcl集团股份有限公司 Method, system and intelligent terminal for scanning files
CN104202626A (en) * 2014-08-29 2014-12-10 青岛海信宽带多媒体技术有限公司 Television photo album system and managing and addressing method thereof
CN106612330A (en) * 2017-01-05 2017-05-03 广州慧睿思通信息科技有限公司 System and method supporting distributed multi-file importing
CN107180102A (en) * 2017-05-25 2017-09-19 北京环境特性研究所 The storage method and system of a kind of target characteristic data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8239443B2 (en) * 2009-09-01 2012-08-07 Rovi Technologies Corporation Method and system for tunable distribution of content
CN103020550B (en) * 2012-12-03 2016-08-17 记忆科技(深圳)有限公司 A kind of solid state hard disc and safety access method, solid state hard disk system
US10601782B2 (en) * 2016-04-01 2020-03-24 Egnyte, Inc. Systems and methods for proxying encryption key communications between a cloud storage system and a customer security module
CN105956063B (en) * 2016-04-27 2019-03-15 华自科技股份有限公司 The date storage method and system of more reconnaissance points

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104494A (en) * 2009-12-18 2011-06-22 华为技术有限公司 Metadata server, out-of-band network file system and processing method of system
CN103246483A (en) * 2013-04-24 2013-08-14 Tcl集团股份有限公司 Method, system and intelligent terminal for scanning files
CN104202626A (en) * 2014-08-29 2014-12-10 青岛海信宽带多媒体技术有限公司 Television photo album system and managing and addressing method thereof
CN106612330A (en) * 2017-01-05 2017-05-03 广州慧睿思通信息科技有限公司 System and method supporting distributed multi-file importing
CN107180102A (en) * 2017-05-25 2017-09-19 北京环境特性研究所 The storage method and system of a kind of target characteristic data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Development of distributed file system for storing weather data;Sherstnev,V.S.;《22ND INTERNATIONAL SYMPOSIUM ON ATMOSPHERIC AND OCEAN OPTICS:ATMOSPHERIC PHYSICS》;20161231;全文 *
药学垂直搜索引擎平台的建立与技术研究;焦强等;《药学进展》;20100430;第164-173页 *

Also Published As

Publication number Publication date
WO2019091023A1 (en) 2019-05-16
CN107967305A (en) 2018-04-27

Similar Documents

Publication Publication Date Title
CN108427705B (en) Electronic device, distributed system log query method and storage medium
CN108388599B (en) Electronic device, data migration and calling method and storage medium
CN107967305B (en) Image file uploading method, server and readable storage medium
US20140337928A1 (en) Information processing device, information management method, and information processing system
US20160132315A1 (en) Method, Apparatus, and Communication Device for Updating Firmware
CN108416679B (en) Device and method for issuing orders of multiple insurance products and computer readable storage medium
CN110753084B (en) Uplink data reading method, cache server and computer readable storage medium
CN109660372B (en) SDN service configuration method and device
CN109445902B (en) Data operation method and system
CN108243254B (en) Electronic device, method for releasing application upgrading version and storage medium
WO2019071898A1 (en) Electronic device, database query script generation method and storage medium
CN108428182B (en) Development platform device, method for acquiring policy number, and computer-readable storage medium
CN115017098A (en) File system management method and device
CN112685078A (en) Interface document generation and query method, device and computer readable storage medium
CN111585897B (en) Request route management method, system, computer system and readable storage medium
CN111026613B (en) Log processing method and device
CN107918915B (en) Apparatus, method and computer readable storage medium for processing information of underwriting
CN109446159B (en) Multi-version file management method, server and computer readable storage medium
CN114168074A (en) Mirror image storage method, device, storage medium and electronic equipment
CN108566293B (en) Electronic device, zk node information notification method, and storage medium
JP2000293364A (en) Terminal data managing device and its program recording medium
CN111158733A (en) BMC upgrading method, device, equipment and computer readable storage medium
CN107209882B (en) Multi-stage de-registration for managed devices
CN110673931A (en) Distributed calculation method for document synthesis, document synthesis system and control device thereof
CN111221817B (en) Service information data storage method, device, computer equipment and storage medium

Legal Events

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