CN109558389B - Image file synchronization method and system - Google Patents

Image file synchronization method and system Download PDF

Info

Publication number
CN109558389B
CN109558389B CN201811221093.5A CN201811221093A CN109558389B CN 109558389 B CN109558389 B CN 109558389B CN 201811221093 A CN201811221093 A CN 201811221093A CN 109558389 B CN109558389 B CN 109558389B
Authority
CN
China
Prior art keywords
image file
target
sponsor
configuration requirement
configuration
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.)
Expired - Fee Related
Application number
CN201811221093.5A
Other languages
Chinese (zh)
Other versions
CN109558389A (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.)
Shenzhen Rongyimai Information Technology Co ltd
Original Assignee
Shenzhen Rongyimai Information 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 Rongyimai Information Technology Co ltd filed Critical Shenzhen Rongyimai Information Technology Co ltd
Priority to CN201811221093.5A priority Critical patent/CN109558389B/en
Publication of CN109558389A publication Critical patent/CN109558389A/en
Application granted granted Critical
Publication of CN109558389B publication Critical patent/CN109558389B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides an image file synchronization method and system, wherein the method comprises the following steps: firstly, a loan aid platform collects configuration requirements of image files received by a sponsor, stores the configuration requirements in a database, then obtains loan application records of the image files which are not uploaded, then reads the configuration requirements of a target sponsor from the database, then obtains target image files in the configuration requirements from a piece-entering channel, and finally uploads the target image files to the target sponsor according to the configuration requirements. By implementing the embodiment of the image file synchronization, the unified processing of the image file receiving requirements of different sponsors is realized, so that the operation and maintenance difficulty of the loan aid platform is reduced, and the stability of the image synchronization function of the loan aid platform is improved.

Description

Image file synchronization method and system
Technical Field
The application relates to the technical field of computers, in particular to a method and a system for synchronizing image files.
Background
The loan aid platform is a bridge for butting each piece entering channel and each external sponsor, however, different sponsors have different receiving requirements for receiving image files, for example, some sponsors need front and back photos of a bank card, and some sponsors do not need the photos; the other parties need to apply for the photos handled by the loan officer on site, and the other parties do not need to apply for the photos handled by the loan officer on site; in addition, different users have different requirements for naming of the image files, uploading formats, storage paths of the image files and the like. If different coding is carried out according to different image file receiving requirements of each sponsor, complicated service codes of the system can cause a software platform to become unremaintable, so that the stability of a loan aid platform is reduced, and meanwhile, the pressure of a software developer for compiling and modifying codes is increased.
Disclosure of Invention
The embodiment of the invention provides an image file synchronization method and system, which aim to realize the unified processing of different image file receiving requirements of different sponsors, thereby reducing the operation and maintenance difficulty of a loan aid platform and improving the stability of the image synchronization function of the loan aid platform.
In a first aspect, a method for synchronizing video files is provided, including:
the loan aid platform collects the configuration requirements of the image file received by the sponsor, and stores the configuration requirements in a database;
obtaining a loan application record of an uploaded image file, wherein the loan application record comprises a target sponsor label and a delivery channel label;
reading the configuration requirement of the target sponsor from the database according to the target sponsor tag;
acquiring a target image file from the delivery channel determined by the delivery channel label, wherein the target image file is determined by the configuration requirement;
and uploading the target image file to the target sponsor according to the configuration requirement, wherein the target sponsor is determined by the target sponsor tag.
More specifically, the method further comprises: and if a fault occurs in the process of uploading the target image file to the target party according to the configuration requirement, triggering a target image file retransmission function.
In a specific embodiment, the triggering the target video file retransmission function includes: re-acquiring a target image file from the incoming channel determined by the incoming channel label, wherein the target image file is determined by the configuration requirement; and uploading the target image file to the target sponsor according to the configuration requirement.
More specifically, the method further comprises: and under the condition that the target image file is successfully uploaded to the target sponsor according to the configuration requirement, updating the loan application record state to be the uploaded image file state.
In a specific embodiment, after the reading of the configuration requirement of the target sponsor from the database according to the target sponsor tag, the method further comprises: placing the loan application record and the configuration requirement combination into a message queue;
and reading the loan application record and the configuration requirement from the message queue before uploading the target image file to the target sponsor according to the configuration requirement.
In a second aspect, there is provided an image file synchronization system, including: a collecting unit, an obtaining unit, a configuration reading unit and an uploading unit,
the collection unit is used for collecting the configuration requirement of the image file received by the sponsor by the loan aid platform and storing the configuration requirement in the database;
the obtaining unit is used for obtaining a loan application record of an image file which is not uploaded, wherein the loan application record comprises a target sponsor label and a delivery channel label;
the configuration reading unit is used for reading the configuration requirement of the target sponsor from the database according to the target sponsor tag;
the acquiring unit is further configured to acquire a target image file from the delivery channel determined by the delivery channel tag, where the target image file is determined by the configuration requirement;
the uploading unit is configured to upload the target image file to the target sponsor according to the configuration requirement, where the target sponsor is determined by the target sponsor tag.
More specifically, the uploading unit is further configured to trigger a retransmission function of the target image file if a failure occurs in the process of uploading the target image file to the target sponsor according to the configuration requirement.
In a specific embodiment, the uploading unit is further configured to, when a failure occurs in the process of uploading the target image file to the target sponsor according to the configuration requirement, re-acquire the target image file from the incoming channel determined by the incoming channel label, where the target image file is determined by the configuration requirement; and uploading the target image file to the target sponsor according to the configuration requirement.
More specifically, the system further includes an updating unit, where the updating unit is specifically configured to update the loan application record state to an uploaded image file state when the target image file is successfully uploaded to the target sponsor according to the configuration requirement.
In a specific embodiment, the system further includes a processing unit, and the processing unit is specifically configured to, after the configuration requirement of the target sponsor is read from the database according to the target sponsor tag, put the loan application record and the configuration requirement combination into a message queue;
and reading the loan application record and the configuration requirement from the message queue before uploading the target image file to the target sponsor according to the configuration requirement.
Drawings
Fig. 1 is a schematic flowchart of an image file synchronization method provided in the present application;
fig. 2 is a schematic view illustrating an image file uploading process of an image file synchronization method according to the present application;
fig. 3 is a schematic diagram illustrating a retransmission process of an image file according to an image file synchronization method of the present application;
FIG. 4 is a schematic diagram of an image file synchronization system according to the present application;
fig. 5 is a schematic block diagram of a server provided in the present application.
Detailed Description
The embodiment of the application provides an image file synchronization method and system, which aim to realize unified processing of different image file receiving requirements of different sponsors, thereby reducing the operation and maintenance difficulty of a loan aid platform and improving the stability of the image synchronization function of the loan aid platform.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is to be understood that the terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only, and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
An embodiment of a method for synchronizing video files is provided. The image file synchronization method comprises the following steps: the loan aid platform collects the configuration requirements of the image file received by the sponsor, and stores the configuration requirements in a database; obtaining a loan application record of an uploaded image file, wherein the loan application record comprises a target sponsor label and a delivery channel label; reading the configuration requirement of the target sponsor from the database according to the target sponsor tag; acquiring a target image file from the delivery channel determined by the delivery channel label, wherein the target image file is determined by the configuration requirement; and uploading the target image file to the target sponsor according to the configuration requirement, wherein the target sponsor is determined by the target sponsor tag.
Referring first to fig. 1, fig. 1 is a schematic flow chart of a loan initial review method supporting multiple modes according to an embodiment of the present application. As shown in fig. 1, a loan initial review method supporting multiple modes according to an embodiment of the present application may include:
101. the lending platform collects the configuration requirements of the image file received by the sponsor and stores the configuration requirements in a database.
In one embodiment of the present application, the loan aid platform collects configuration requirements of a sponsor for receiving an image file, wherein configuration information in the configuration requirements includes: the method includes the steps of obtaining a configuration request of a data base, and storing the configuration request in a database, wherein the database may be any one or more of SQL Server, Oracle, MySQL, DB2, Sybase, Access, SQLite and the like, and it should be understood that the above examples of configuration information and database are only used for illustration and should not constitute specific limitations.
102. And obtaining a loan application record of the uploaded image file.
In a specific implementation manner of the application, the loan application record with the status of not uploading the image file is inquired from a database which stores the status information of the loan application record to a loan aid platform, wherein the loan application record comprises a target sponsor label and a delivery channel label. And the loan aid platform acquires the address of the target sponsor server according to the tag of the target sponsor, and identifies the source of the loan application record according to the incoming channel tag.
Preferably, the loan application record with the status of not uploading the image file is inquired from a database which holds the state information of the loan application record by a loan aid platform regularly (for example, every 30 minutes).
103. Reading the configuration requirements of the target sponsor from the database according to the target sponsor tag.
In a specific implementation manner of the present application, the configuration requirement of a target sponsor is read from the database according to the target sponsor tag, the configuration requirement of the target sponsor and the loan application record corresponding to the target sponsor tag are combined into a message to be placed in a message queue, when the number in the message queue is greater than zero, an actual business service is triggered to read the configuration requirement of the target sponsor and the loan application record corresponding to the target sponsor tag from the message queue, and corresponding services are executed, where the services include: and uploading the common file, uploading the packed file and updating the synchronous state of the image file. When the program is abnormal in the running process, for example, the server running the program is halted and powered off, and when the server resumes normal running again, the message that has not been processed at the moment when the program is abnormal still remains in the message queue, and at this time, the program only needs to continue processing the message that has not been processed in the message queue.
If the same type of transaction message is not saved using the data structure of the message queue, it may happen that the program does not know where to run when the program resumes normal operation from an exception. If the operation is performed from the beginning, the target video file may be repeatedly sent to the target user, but the exception is not allowed in the aspect of service processing. Therefore, the message queue added into the message queue can ensure that the program continues to normally run from the time point of the abnormality after the program is recovered from the abnormal condition.
104. And acquiring a target image file from the delivery channel determined by the delivery channel label.
In a specific implementation manner of the present application, the lending platform sends a target image file acquisition instruction to the incoming channel, where the instruction includes a requirement of an image file type that the incoming channel needs to send to the lending platform. And under the condition that the pickup channel responds to the target image file acquisition instruction successfully, the loan aid platform receives the target image file sent by the pickup channel according to the requirement. Wherein the target image file includes: one or more of the front and back pictures of the identity card, the front and back pictures of the bank card and the pictures of the loan procedure handling site. And under the condition that the loan aid platform successfully obtains the target image file, storing the target image file into an sftp file server of the loan aid platform.
105. And uploading the target image file to the target sponsor according to the configuration requirement.
In a specific implementation manner of the present application, the target image file is uploaded to the target sponsor according to the configuration requirement, specifically, for example, the configuration requirement of the sponsor a: the front and back pictures of the identity card and the front and back pictures of the bank card are packaged and uploaded according to a zip compression format, the on-site picture handling in the loan procedure is uploaded according to a common file, and the uploading path of the image file is formed by taking a funding sftp basic path as a prefix and taking the date of the day as a suffix. It should be understood that the above examples are for illustrative purposes only and are not to be construed as limiting in any way.
Fig. 2 is a schematic view illustrating an uploading process of an image file according to the present application, and fig. 2 is a schematic view illustrating an uploading process of an image file synchronization method according to the present application. The method comprises the steps that firstly, a loan aid platform triggers an image file uploading service according to a preset period, for example, the image file uploading service can be triggered once every 30 minutes, after the image file uploading service is triggered, a loan application record of an image file which is not uploaded is inquired in the loan aid platform, then, an image file downloading request is sent to a delivery channel, after the image file is returned from the delivery channel, the image file is uploaded to a sponsor, and finally, the state of the loan application record is modified according to the return result of the sponsor.
In a specific implementation manner of the present application, if a failure occurs in the process of uploading the target image file to the target party according to the configuration requirement, triggering a retransmission function of the target image file, where the triggering the retransmission function of the target image file includes: re-acquiring a target image file from the incoming channel determined by the incoming channel label, wherein the target image file is determined by the configuration requirement; and uploading the target image file to the target sponsor according to the configuration requirement. Referring to fig. 3 in particular, fig. 3 is a schematic view illustrating an image file retransmission process of an image file synchronization method according to the present application.
Optionally, in a case that the target image file is successfully uploaded to the target sponsor according to the configuration requirement, the loan application record status is updated to an uploaded image file status, where the loan application record status includes: the state of the image file is not uploaded and the state of the image file is uploaded. It should be understood that the above-described example of the status of the loan application record is for example only and should not be construed as being particularly limiting.
Based on the image file synchronization method provided by the above embodiment of the present application, the loan aid platform first collects the configuration requirements of the image file received by the sponsor, stores the configuration requirements in the database, then obtains the loan application record of the image file which is not uploaded, then reads the configuration requirements of the target sponsor from the database according to the target sponsor tag in the loan application record, then obtains the target image file in the configuration requirements from the incoming channel determined by the incoming channel tag in the loan application record, and finally uploads the target image file to the target sponsor according to the configuration requirements. By implementing the embodiment of the image file synchronization, the unified processing of the image file receiving requirements of different sponsors is realized, so that the operation and maintenance difficulty of the loan aid platform is reduced, and the stability of the image synchronization function of the loan aid platform is improved.
An embodiment of the present application further provides an image file synchronization system, please refer to fig. 4, where fig. 4 is a schematic structural diagram of the image file synchronization system provided in the present application, and the system includes: the system comprises a collection unit 401, an acquisition unit 402, a configuration reading unit 403, an uploading unit 404, an updating unit 405 and a processing unit 406.
The collecting unit 401 is configured to collect the configuration requirement of the image file received by the sponsor by the loan aid platform, and store the configuration requirement in the database.
In one embodiment of the present application, the loan aid platform collects configuration requirements of a sponsor for receiving an image file, wherein configuration information in the configuration requirements includes: any one or more of a sponsor description, a sponsor sftp information, a sponsor file uploading policy, a loan platform sftp information, an image uploading file information list, an image package uploading file parameter, and an image uploading sponsor sftp basic path, and then storing the collected configuration requirements of the sponsor for receiving the image files in a database, wherein the database is a warehouse organized, stored and managed according to a data structure, and the database may be any one or more of databases such as SQLServer, Oracle, MySQL, DB2, Sybase, Access, SQLite, and the like.
The obtaining unit 402 is configured to obtain a loan application record of an image file that is not uploaded, where the loan application record includes a target sponsor tag and an incoming channel tag.
In a specific implementation manner of the application, the loan application record with the status of not uploading the image file is inquired from a database which stores the status information of the loan application record to a loan aid platform, wherein the loan application record comprises a target sponsor label and a delivery channel label. And the loan aid platform acquires the address of the target sponsor server according to the tag of the target sponsor, and identifies the source of the loan application record according to the incoming channel tag.
Preferably, the loan application record with the status of not uploading the image file is inquired from a database which holds the state information of the loan application record by a loan aid platform regularly (for example, every 30 minutes).
The configuration reading unit 403 is configured to read the configuration requirement of the target sponsor from the database according to the target sponsor tag.
In a specific implementation manner of the present application, the image file synchronization system further includes a processing unit 406, where the processing unit is specifically configured to, according to the target sponsor tag, read the configuration requirement of the target sponsor from the database, combine the configuration requirement of the target sponsor and the loan application record corresponding to the target sponsor tag into one message to be placed in a message queue, and when the number in the message queue is greater than zero, trigger an actual business service to read the configuration requirement of the target sponsor and the loan application record corresponding to the target sponsor tag from the message queue, and execute a corresponding service, where the service includes: and uploading the common file, uploading the packed file and updating the synchronous state of the image file. When the program is abnormal in the running process, for example, the server running the program is halted and powered off, and when the server resumes normal running again, the message that has not been processed at the moment when the program is abnormal still remains in the message queue, and at this time, the program only needs to continue processing the message that has not been processed in the message queue.
If the same type of transaction message is not saved using the data structure of the message queue, it may happen that the program does not know where to run when the program resumes normal operation from an exception. If the operation is performed from the beginning, the target video file may be repeatedly sent to the target user, but the exception is not allowed in the aspect of service processing. Therefore, the message queue added into the message queue can ensure that the program continues to normally run from the time point of the abnormality after the program is recovered from the abnormal condition.
The obtaining unit 402 is further configured to obtain a target image file from the incoming channel determined by the incoming channel tag, where the target image file is determined by the configuration requirement.
In a specific implementation manner of the present application, the lending platform sends a target image file acquisition instruction to the incoming channel, where the instruction includes a requirement of an image file type that the incoming channel needs to send to the lending platform. And under the condition that the pickup channel responds to the target image file acquisition instruction successfully, the loan aid platform receives the target image file sent by the pickup channel according to the requirement. Wherein the target image file includes: one or more of the front and back pictures of the identity card, the front and back pictures of the bank card and the pictures of the loan procedure handling site. And under the condition that the loan aid platform successfully obtains the target image file, storing the target image file into an sftp file server of the loan aid platform.
The uploading unit 404 is configured to upload the target image file to the target party according to the configuration requirement, where the target party is determined by the target party tag.
In a specific implementation manner of the present application, the uploading unit is specifically configured to upload the target image file to the target sponsor according to the configuration requirement, specifically, for example, the configuration requirement of the sponsor a: the front and back pictures of the identity card and the front and back pictures of the bank card are packaged and uploaded according to a zip compression format, the on-site picture handling in the loan procedure is uploaded according to a common file, and the uploading path of the image file is formed by taking a funding sftp basic path as a prefix and taking the date of the day as a suffix. It should be understood that the above examples are for illustrative purposes only and are not to be construed as limiting in any way.
In a specific implementation manner of the present application, the uploading unit is further configured to trigger a target image file retransmission function if a failure occurs in the process of uploading the target image file to the target party according to the configuration requirement, where the triggering the target image file retransmission function includes: re-acquiring a target image file from the incoming channel determined by the incoming channel label, wherein the target image file is determined by the configuration requirement; and uploading the target image file to the target sponsor according to the configuration requirement.
Optionally, the image file synchronization system further includes an updating unit 405, where the updating unit is specifically configured to, under the condition that the target image file is successfully uploaded to the target sponsor according to the configuration requirement, update the loan application record state to an uploaded image file state, where the loan application record state includes: the state of the image file is not uploaded and the state of the image file is uploaded. It should be understood that the above-described example of the status of the loan application record is for example only and should not be construed as being particularly limiting.
The image file synchronization system provided by the embodiment of the application comprises the steps that a loan aid platform collects configuration requirements of image files received by a sponsor, stores the configuration requirements in a database, acquires loan application records of the image files which are not uploaded, reads the configuration requirements of a target sponsor from the database according to a target sponsor label in the loan application records, acquires the target image files in the configuration requirements from a piece feeding channel determined by a piece feeding channel label in the loan application records, and uploads the target image files to the target sponsor according to the configuration requirements. By implementing the embodiment of the image file synchronization, the unified processing of the image file receiving requirements of different sponsors is realized, so that the operation and maintenance difficulty of the loan aid platform is reduced, and the stability of the image synchronization function of the loan aid platform is improved.
Referring to fig. 5, fig. 5 is a device according to an embodiment of the present invention, where the device may be a server, and the device shown in fig. 5 includes: one or more processors 501; one or more input devices 502, one or more output devices 503, and memory 504. The processor 501, the input device 502, the output device 503, and the memory 504 are connected by a bus 505. The memory 502 is used to store instructions and the processor 501 is used to execute instructions stored by the memory 502.
When the device is used as a server, the processor 501 is configured to collect configuration requirements of image files received by a sponsor, store the configuration requirements in a database, obtain a loan application record of the image files which are not uploaded, read the configuration requirements of a target sponsor from the database according to a target sponsor tag in the loan application record, obtain target image files in the configuration requirements from a piece feeding channel determined by a piece feeding channel tag in the loan application record, and upload the target image files to the target sponsor according to the configuration requirements.
It should be understood that, in the embodiment of the present invention, the Processor 501 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 502 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 503 may include a display (LCD, etc.), a speaker, etc.
The memory 504 may include a read-only memory and a random access memory, and provides instructions and data to the processor 501. A portion of the memory 504 may also include non-volatile random access memory. For example, the memory 504 may also store device type information.
In a specific implementation, the processor 501, the input device 502, and the output device 503 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the method and apparatus for synchronizing an image file provided in this embodiment of the present invention, and may also execute the implementation manners of the terminal described in this embodiment of the present invention, which is not described herein again.
In another embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program comprising program instructions that when executed by a processor implement: collecting the configuration requirements of image files received by a sponsor, storing the configuration requirements in a database, then obtaining loan application records of the image files which are not uploaded, then reading the configuration requirements of a target sponsor from the database, then obtaining target image files in the configuration requirements from a piece feeding channel, and finally uploading the target image files to the target sponsor according to the configuration requirements.
The computer readable storage medium may be an internal storage unit of the terminal according to any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, 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 provided on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the server, the device and the unit described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed server, apparatus and method may be implemented in other ways. For example, the above-described server embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. An image file synchronization method, comprising:
the loan aid platform collects the configuration requirements of the image file received by the sponsor, and stores the configuration requirements in a database;
obtaining a loan application record of an uploaded image file, wherein the loan application record comprises a target sponsor label and a delivery channel label;
reading the configuration requirement of the target sponsor from the database according to the target sponsor tag;
acquiring a target image file from the delivery channel determined by the delivery channel label, wherein the target image file is determined by the configuration requirement;
uploading the target image file to the target sponsor according to the configuration requirement, wherein the target sponsor is determined by the target sponsor tag;
if a fault occurs in the process of uploading the target image file to the target sponsor according to the configuration requirement, acquiring the target image file from the incoming channel determined by the incoming channel label again, wherein the target image file is determined by the configuration requirement; and uploading the target image file to the target sponsor according to the configuration requirement.
2. The method of claim 1, further comprising:
and under the condition that the target image file is successfully uploaded to the target sponsor according to the configuration requirement, updating the loan application record state to be the uploaded image file state.
3. The method according to claim 1, wherein after said reading of the configuration requirements of a target sponsor from the database according to the target sponsor tag, the method further comprises: placing the loan application record and the configuration requirement combination into a message queue;
and reading the loan application record and the configuration requirement from the message queue before uploading the target image file to the target sponsor according to the configuration requirement.
4. An image file synchronization system, comprising: a collecting unit, an obtaining unit, a configuration reading unit and an uploading unit,
the collection unit is used for collecting the configuration requirement of the image file received by the sponsor by the loan aid platform and storing the configuration requirement in the database;
the obtaining unit is used for obtaining a loan application record of an image file which is not uploaded, wherein the loan application record comprises a target sponsor label and a delivery channel label;
the configuration reading unit is used for reading the configuration requirement of the target sponsor from the database according to the target sponsor tag;
the acquiring unit is further configured to acquire a target image file from the delivery channel determined by the delivery channel tag, where the target image file is determined by the configuration requirement;
the uploading unit is used for uploading the target image file to the target sponsor according to the configuration requirement, wherein the target sponsor is determined by the target sponsor tag;
the uploading unit is further configured to, if a failure occurs in the process of uploading the target image file to the target sponsor according to the configuration requirement, reacquire the target image file from the incoming channel determined by the incoming channel label, where the target image file is determined by the configuration requirement; and uploading the target image file to the target sponsor according to the configuration requirement.
5. System according to claim 4, characterized in that the system further comprises an updating unit, in particular for,
and under the condition that the target image file is successfully uploaded to the target sponsor according to the configuration requirement, updating the loan application record state to be the uploaded image file state.
6. The system according to claim 4, further comprising a processing unit, specifically configured to, after said reading of the configuration requirements of the target sponsor from the database according to the target sponsor tag, place the loan application record and the configuration requirements combination into a message queue;
and reading the loan application record and the configuration requirement from the message queue before uploading the target image file to the target sponsor according to the configuration requirement.
CN201811221093.5A 2018-10-19 2018-10-19 Image file synchronization method and system Expired - Fee Related CN109558389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811221093.5A CN109558389B (en) 2018-10-19 2018-10-19 Image file synchronization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811221093.5A CN109558389B (en) 2018-10-19 2018-10-19 Image file synchronization method and system

Publications (2)

Publication Number Publication Date
CN109558389A CN109558389A (en) 2019-04-02
CN109558389B true CN109558389B (en) 2020-11-06

Family

ID=65865036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811221093.5A Expired - Fee Related CN109558389B (en) 2018-10-19 2018-10-19 Image file synchronization method and system

Country Status (1)

Country Link
CN (1) CN109558389B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351069A (en) * 2020-09-30 2021-02-09 银盛通信有限公司 System and method for automatic data uploading and maintaining transmission stability

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064579A (en) * 2011-10-21 2013-04-24 艾迪讯科技股份有限公司 Intelligent machine interactive system service platform
CN107656925A (en) * 2016-07-24 2018-02-02 平安科技(深圳)有限公司 The method and device that image file is had access to
CN107945014A (en) * 2018-01-09 2018-04-20 安徽润谷网络科技有限公司 One kind is based on LAOP platform small amount personal loan systems

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI380168B (en) * 2005-12-26 2012-12-21 Ibm System, method, program, and system implementation method for transaction process logging
CN103258389B (en) * 2013-04-19 2015-10-28 中国建设银行股份有限公司 The method of self-aided terminal upload file, system and self-aided terminal
CN107230155A (en) * 2016-06-08 2017-10-03 北京知果科技有限公司 A kind of trade mark removes three settlement of insurance claim systems, method
CN106936898B (en) * 2017-02-23 2020-06-05 中国银行股份有限公司 Cross-region file transmission method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064579A (en) * 2011-10-21 2013-04-24 艾迪讯科技股份有限公司 Intelligent machine interactive system service platform
CN107656925A (en) * 2016-07-24 2018-02-02 平安科技(深圳)有限公司 The method and device that image file is had access to
CN107945014A (en) * 2018-01-09 2018-04-20 安徽润谷网络科技有限公司 One kind is based on LAOP platform small amount personal loan systems

Also Published As

Publication number Publication date
CN109558389A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
US11178224B2 (en) System and method for automatic cloud-based full-data backup on mobile devices
US9443001B2 (en) Method and system to curate media collections
US9436556B2 (en) Customizable storage system for virtual databases
EP3087487A1 (en) Providing access to a cloud based content management system on a mobile device
CN107092628B (en) Time series data processing method and device
CN111222089B (en) Data processing method, data processing device, computer equipment and storage medium
US10185631B2 (en) System and method of performing continuous backup of a data file on a computing device
CN109388671B (en) Data processing method, device, equipment and storage medium
KR20170097980A (en) Method for sharing content group of electronic device and electronic device thereof
US20140379635A1 (en) System and Methods of Data Migration Between Storage Devices
CN113692309A (en) Configuration updating method and device, equipment and storage medium
CN109558389B (en) Image file synchronization method and system
CN113326165A (en) Data processing method and device based on block chain and computer readable storage medium
US11321193B2 (en) Database restoration across cloud environments
CN112714351A (en) Evidence obtaining method, evidence obtaining device and server
CN115510012A (en) Service data processing method and device, computer equipment and storage medium
US11663167B2 (en) Systems and methods of mobile database management and sharing
US8386452B2 (en) Data combination system and data combination method
CN111027578B (en) Method and device for preventing photo from being lost and replaced
CN112464049A (en) Method, device and equipment for downloading detailed number list
TW201508514A (en) System and method of storing data
US9251153B1 (en) Systems and methods for populating and maintaining a local cache with archived data items
CN106375354B (en) Data processing method and device
US20230004462A1 (en) Persistently storing metadata associated with a backup of data in a source database
US20160078033A1 (en) Physical Visual ID as Means to Tie Disparate Media Collections

Legal Events

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

Address after: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Applicant after: Shenzhen Rongyimai Information Technology Co.,Ltd.

Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Applicant before: SHENZHEN MAIMAITI INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201106