CN109086433A - A kind of file management method and server based on big data analysis - Google Patents
A kind of file management method and server based on big data analysis Download PDFInfo
- Publication number
- CN109086433A CN109086433A CN201810915146.7A CN201810915146A CN109086433A CN 109086433 A CN109086433 A CN 109086433A CN 201810915146 A CN201810915146 A CN 201810915146A CN 109086433 A CN109086433 A CN 109086433A
- Authority
- CN
- China
- Prior art keywords
- file
- destination
- type
- api
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 27
- 238000007405 data analysis Methods 0.000 title claims abstract description 24
- 238000000034 method Methods 0.000 claims abstract description 9
- 230000007246 mechanism Effects 0.000 claims description 80
- 238000004590 computer program Methods 0.000 claims description 14
- 241000208340 Araliaceae Species 0.000 claims 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 2
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 2
- 235000008434 ginseng Nutrition 0.000 claims 2
- 238000005516 engineering process Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 1
- 238000007596 consolidation process Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
Landscapes
- Storage Device Security (AREA)
Abstract
The present invention is suitable for field of computer technology, provides a kind of file management method and server based on big data analysis, this method comprises: receiving file acquisition request;File acquisition request includes the file information of the file destination of request;The corresponding source server of file destination and destination application programming interface API to be called are determined according to the file information of file destination;Invocation target API Access source server pulls file destination according to the file information of file destination from source server;According to the file information of file destination and its authority identification of carrying, the corresponding destination document template of file type of file destination according to target file is arranged.It is that unified file template is arranged in same type of file the present invention is based on big data analysis technology, same type of file from different institutions is organized into unified format by the corresponding file template of this document type, can increase the readability of data and improves the accuracy for extracting data from file destination.
Description
Technical field
The invention belongs to field of computer technology more particularly to a kind of file management methods and clothes based on big data analysis
Business device.
Background technique
In various application fields, due to business demand, an enterprise may have business contact with more banks simultaneously, thus
It needs to carry out frequent data interaction with more banks system.For example, in current business scene, the loan transaction pair of insurance company
More banks are connect, the server needs of insurance company obtain Various types of data from the file that banking system provides, for example, urging after borrowing
Receive data, customer lending data etc..Since the file management method of different banking systems may be different, different bank system is mentioned
The same field of the same file supplied may also correspond to different business meaning, and server is getting the offer of different bank system
Same type file when, can not accurately extract the data of needs.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of file management method and server based on big data analysis,
To solve in the prior art since the file management method of different banking systems may be different, different bank system is provided same
A kind of same field of file may also correspond to different business meaning, and server is getting the similar of different bank system offer
When the file of type, the problem of can not accurately extracting the data of needs.
The first aspect of the embodiment of the present invention provides a kind of file management method based on big data analysis, comprising:
Receive file acquisition request;Wherein, the file acquisition request includes the file letter of the file destination of request
Breath, the file information includes file type;
The corresponding source server of the file destination and to be called is determined according to the file information of the file destination
Destination application programming interface API;
Source server described in the target API Access is called, is taken according to the file information of the file destination from the source
The file destination is pulled in business device;Wherein, the file destination pulled, which carries to be used to indicate, provides the file destination
The authority identification of target mechanism;
According to the file information of the file destination pulled and its authority identification of carrying, by the file destination
It is arranged by the corresponding destination document template of the file type of the file destination.
The second aspect of the embodiment of the present invention provides a kind of server, including memory, processor and is stored in institute
The computer program that can be run in memory and on the processor is stated, the processor executes real when the computer program
Existing following steps:
Receive file acquisition request;Wherein, the file acquisition request includes the file letter of the file destination of request
Breath, the file information includes file type;
The corresponding source server of the file destination and to be called is determined according to the file information of the file destination
Destination application programming interface API;
Source server described in the target API Access is called, is taken according to the file information of the file destination from the source
The file destination is pulled in business device;Wherein, the file destination pulled, which carries to be used to indicate, provides the file destination
The authority identification of target mechanism;
According to the file information of the file destination pulled and its authority identification of carrying, by the file destination
It is arranged by the corresponding destination document template of the file type of the file destination.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program performs the steps of when being executed by processor
Receive file acquisition request;Wherein, the file acquisition request includes the file letter of the file destination of request
Breath, the file information includes file type;
The corresponding source server of the file destination and to be called is determined according to the file information of the file destination
Destination application programming interface API;
Source server described in the target API Access is called, is taken according to the file information of the file destination from the source
The file destination is pulled in business device;Wherein, the file destination pulled, which carries to be used to indicate, provides the file destination
The authority identification of target mechanism;
According to the file information of the file destination pulled and its authority identification of carrying, by the file destination
It is arranged by the corresponding destination document template of the file type of the file destination.
Implement a kind of file management method and server based on big data analysis provided in an embodiment of the present invention have with
It is lower the utility model has the advantages that
The embodiment of the present invention, server is by calling the API to match with the file type of the file destination of request
File destination is obtained, and file destination is parsed according to the file type of file destination and its authority identification of carrying, and
The corresponding destination document template of file type of data after parsing according to target file is arranged.Based on big data analysis skill
Art is that a unified file template server is arranged by the same type of file from different institutions in same type of file
Unified arrangement is carried out by the corresponding file template of this document type and is sorted out, so as to will be from the same kind of different institutions
File consolidation at unified format, the readability of data can be increased, avoid the same type of file from different institutions because
Same field may correspond to different business meaning and lead to the situation of the data got from file inaccuracy, can be improved from
The accuracy for the data extracted in file destination.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation process for file management method based on big data analysis that one embodiment of the invention provides
Figure;
Fig. 2 be another embodiment of the present invention provides a kind of file management method based on big data analysis implementation process
Figure;
Fig. 3 is a kind of schematic diagram for server that one embodiment of the invention provides;
Fig. 4 be another embodiment of the present invention provides a kind of server schematic diagram.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Referring to Figure 1, Fig. 1 is a kind of file management method based on big data analysis that one embodiment of the invention provides
Implementation flow chart.The executing subject of file management method in the present embodiment based on big data analysis is server.As shown in the figure
The file management method based on big data analysis can include:
S101: file acquisition request is received;Wherein, the file acquisition request includes the text of the file destination of request
Part information, the file information include file type.
In one embodiment, server obtains the file acquisition request that terminal is sent.For example, when file acquisition request comes
When self terminal, user, can be by terminal login service device, into the text of server when needing to obtain file from cooperative institution
Part management system, and the file type for the file that selection needs to obtain in file management interactive interface, and pass through file management
Function choosing-item or virtual push button (for example, " confirmation " button or option of " pulling the file ") triggering terminal of interactive interface, which are called, to be used
Text is sent to server in the application programming interface (Application Program Interface, API) for pulling file
Part acquisition request.User calls the API to send file to server and obtains by unified file management interactive interface triggering terminal
Request is taken, so as to pull the available various types of files of cooperative institution from all cooperative institutions.The file information packet
File type is included, can also include file name or reference number of a document;File type includes: end day file, file of settling a claim, withholds text
Part.Cooperative institution includes but is not limited to bank, financial institution.
In another embodiment, file acquisition request can be started timed task triggering by server and be generated.Specifically,
When server will acquire file this event in advance is set as preset timed task, server is detecting that current time is
When executing the predetermined time of the timed task, file acquisition request is generated, server obtains the text generated by timed task triggering
Part acquisition request.
S102: the corresponding source server of the file destination is determined according to the file information of the file destination and wait adjust
Destination application programming interface API.
The text for the file that authority identification and each cooperative institution of the server based on pre-stored cooperative institution provide
Part type, according to file acquisition request in request file destination file type, determination can provide this document type
The authority identification of the target mechanism of file destination.Wherein, target mechanism and authority identification correspond, and authority identification can be mesh
The Institution Code or title of mechanism are marked, the authority identification of each mechanism is unique.It can provide the target text of this document type
The quantity of the target mechanism of part can be one, or at least two.When the quantity of target mechanism is at least two, sentence
There are at least two cooperative institutions to can provide the file destination of this document type before settled.
Later, the default corresponding relationship between server authority identification according to the pre-stored data and source server mark, really
Surely the corresponding source server of authority identification of the target mechanism of file destination is provided, to obtain the corresponding source service of file destination
Device.File destination is stored in the corresponding source server of the authority identification of target mechanism.It is understood that a source server
For storing the associated documents of a target mechanism, i.e. source service and the authority identification of target mechanism corresponds, and passes through target
The authority identification of mechanism can determine source server corresponding to the target mechanism.
Since different mechanisms provides the file of file type of the same race to server by different API, server needs
The file of file type of the same race is obtained to different mechanisms by different API, is pre-established in server and stores mechanism
Default corresponding relationship between mark, the interface identifier of API and file type three.
Server, can basis after the authority identification for determining the target mechanism of file destination that can provide this document type
Default corresponding relationship between authority identification, the interface identifier of API and file type three obtains the file with file destination
The interface identifier of the matched target API of the authority identification of type and target mechanism.Since the interface identifier of API is unique
, for determining a unique API, therefore, server can determine target to be called by the interface identifier of target API
API.Target API is used for the corresponding source server of access target mechanism, obtains file destination.
S103: calling source server described in the target API Access, according to the file information of the file destination from described
The file destination is pulled in source server;Wherein, the file destination carrying pulled, which is used to indicate, provides the target text
The authority identification of the target mechanism of part.
The corresponding source server of server calls target API Access target mechanism, and according to the file destination of request
File type and the file informations such as file identification (file name or reference number of a document), pulled from source server and this document
Type and the matched file destination of file identification.At this point, the file destination carrying pulled is used to indicate offer file destination
Target mechanism authority identification so that server when getting file destination, can be taken according in the file destination pulled
The authority identification of target mechanism and the file type of file destination of band parse file destination.
S104: according to the file information of the file destination pulled and its authority identification of carrying, by the mesh
Mark file is arranged by the corresponding destination document template of file type of the file destination.
The mechanism mark for the target mechanism that server is carried according to the file type and file destination of the file destination pulled
Know, file destination is parsed, the file data after parse, and obtained file data according to target file will be parsed
The corresponding destination document template of file type is managed.
Specifically, it is illustrated so that target mechanism is banking institution as an example, in the file provided due to each banking institution
The corresponding meaning of identical field may be not quite similar, be stored in advance in server each banking institution provide it is various types of
The corresponding meaning of each field in the file of type, when getting the authority identification for the target mechanism that each file destination carries,
In the various types of files provided based on each banking institution the corresponding meaning of each field, the file type of each file with
And the authority identification of the target mechanism of file destination carrying, the file destination pulled is parsed.
The corresponding document template of file of every kind of file type has been stored in advance in server, has pulled target text
When part, the corresponding destination document mould of file type of file destination can be obtained according to the file type of the file destination pulled
Plate, based on the information of destination document template, analytically after file data in extract destination document template in include each index
The value of parameter or the corresponding specifying information of each index parameter, thus the information according to target file that the file destination that will acquire includes
File type corresponding to destination document template arranged, and the file after arrangement is stored by file type to data
Library.
Above scheme, server is by calling the API to match with the file type of the file destination of request to obtain
File destination, and file destination is parsed according to the file type of file destination and its authority identification of carrying, and will solution
The corresponding destination document template of file type of data after analysis according to target file is arranged.It is based on big data analysis technology
A unified file template is arranged in same type of file, and server presses the same type of file from different institutions should
The corresponding file template of file type carries out unified arrangement and sorts out, so as to will be from the same type of text of different institutions
Part is organized into unified format, can increase the readability of data, avoid the same type of file from different institutions because same
Field may correspond to different business meaning and lead to the situation of the data got from file inaccuracy, can be improved from target
The accuracy for the data extracted in file.
Refer to Fig. 2, Fig. 2 be another embodiment of the present invention provides a kind of file management method based on big data analysis
Implementation flow chart.The executing subject of file management method in the present embodiment based on big data analysis is server.As schemed
The file management method based on big data analysis shown can comprise the following steps that
S201: file acquisition request is received;Wherein, the file acquisition request includes the text of the file destination of request
Part information, the file information include file type.
S201 is identical as the S101 in a upper embodiment in the present embodiment, referring specifically to the phase of S101 in a upper embodiment
Description is closed, is not repeated herein.
S202: it according to the default corresponding relationship between file type and authority identification, determines and the file destination is provided
The authority identification of target mechanism.
The file for the file that server is provided previously according to the authority identification of each cooperative institution and each cooperative institution
Type establishes the default corresponding relationship between file type and authority identification.Wherein, target mechanism and authority identification one are a pair of
It answers, authority identification can be the Institution Code or title of target mechanism, and the authority identification of each mechanism is unique.
When getting file acquisition request, according to the default corresponding relationship between file type and authority identification, request
The file type of the file destination of acquisition determines the authority identification that can provide the target mechanism of file destination of this document type.
The quantity that can provide the target mechanism of the file destination of this document type can be one, or at least two.Work as target
When the quantity of mechanism is at least two, the file destination for currently there are at least two cooperative institutions to can provide this document type is determined.
S203: according to the default corresponding relationship between authority identification and the mark of source server, the target mechanism is determined
The corresponding source server of authority identification.
Default corresponding relationship between server authority identification according to the pre-stored data and source server mark, determines and provides
The corresponding source server of authority identification of the target mechanism of file destination, to obtain the corresponding source server of file destination.One
A source server is used to store the associated documents of a target mechanism, i.e. source service and the authority identification one of target mechanism is a pair of
It answers, source server corresponding to the target mechanism can determine by the authority identification of target mechanism.
S204: the default corresponding relationship between three, acquisition and institute are identified according to file type, authority identification and API
The matched target API of the authority identification of the file type and the target mechanism of stating file destination.
Since different mechanisms provides the file of file type of the same race to server by different API, server needs
The file of file type of the same race is obtained to different mechanisms by different API, is pre-established in server and stores mechanism
Default corresponding relationship between mark, the interface identifier of API and file type three.
Server, can basis after the authority identification for determining the target mechanism of file destination that can provide this document type
Default corresponding relationship between authority identification, the interface identifier of API and file type three obtains the file with file destination
The interface identifier of the matched target API of the authority identification of type and target mechanism.Since the interface identifier of API is unique
, for determining a unique API, therefore, server can determine target to be called by the interface identifier of target API
API.Target API is used for the corresponding source server of access target mechanism, obtains file destination.
Further, S204 may include:
S2041: according to the default corresponding relationship between file type and API type, the file of the file destination is determined
Target type belonging to target API corresponding to type.
A kind of corresponding one kind API of file type, every class API include at least two API, the corresponding cooperation machine of each API
Structure, so that each cooperative institution can provide same type of file to server by different API, so that server exists
When getting file, it can determine file from which cooperative institution, Jin Erneng according to the API called when obtaining this document
Enough accurate file of the parsing from each cooperative institution.
For example, target type belonging to the corresponding API of end day file is A, banking institution 1 is A1's by interface identifier
The end day file that API is provided, the end day file ... ... that banking institution 2 is provided by the API that interface identifier is A2, banking institution n
The end day file provided by the API that interface identifier is An.
Target type belonging to the corresponding API of file of settling a claim is B, and banking institution 1 is provided by interface identifier for the API of B1
End day file, banking institution 2 is by the end day file ... ... that provides of API that interface identifier is B2, and banking institution n is by connecing
Mouth is identified as the end day file that the API of Bn is provided.
Withholding target type belonging to the corresponding API of file is C, and banking institution 1 is provided by interface identifier for the API of C1
End day file, banking institution 2 is by the end day file ... ... that provides of API that interface identifier is C2, and banking institution n is by connecing
Mouth is identified as the end day file that the API of Cn is provided.
S2042: according to the default corresponding relationship and each type of API between the interface identifier and authority identification of API
The interface identifier for the API for being included, the determining authority identification with the target mechanism from the API that the target type includes
The target API matched.
Every class API includes at least two API, and each API has a unique interface identifier, for example, B class API includes
The interface identifier of API have: B1, B2 ..., Bn.
For example, when banking institution is identified as 1, obtaining the day whole text that banking institution 1 provides when file type is end day file
Part needs the target API's called to be identified as B1.
S205: calling source server described in the target API Access, according to the file information of the file destination from described
The file destination is pulled in source server;Wherein, the file destination carrying pulled, which is used to indicate, provides the target text
The authority identification of the target mechanism of part.
S205 is identical as the S103 in a upper embodiment in the present embodiment, referring specifically to the phase of S103 in a upper embodiment
Description is closed, is not repeated herein.
S206: according to the file information of the file destination pulled and its authority identification of carrying, by the mesh
Mark file is arranged by the corresponding destination document template of file type of the file destination.
The mechanism mark for the target mechanism that server is carried according to the file type and file destination of the file destination pulled
Know, file destination is parsed, the file data after parse, and obtained file data according to target file will be parsed
The corresponding destination document template of file type is managed.
Specifically, it is illustrated so that target mechanism is banking institution as an example, in the file provided due to each banking institution
The corresponding meaning of identical field may be not quite similar, be stored in advance in server each banking institution provide it is various types of
The corresponding meaning of each field in the file of type, when getting the authority identification for the target mechanism that each file destination carries,
In the various types of files provided based on each banking institution the corresponding meaning of each field, the file type of each file with
And the authority identification of the target mechanism of file destination carrying, the file destination pulled is parsed, it is corresponding to obtain each field
Concrete meaning.
The corresponding document template of file of every kind of file type has been stored in advance in server, has pulled target text
When part, the corresponding destination document mould of file type of file destination can be obtained according to the file type of the file destination pulled
Plate, based on the information of destination document template, analytically after file data in extract destination document template in include each index
The value of parameter or the corresponding specifying information of each index parameter, thus the information according to target file that the file destination that will acquire includes
File type corresponding to destination document template arranged, and the file after arrangement is stored by file type to data
Library.
Further, S206 may comprise steps of:
S2061: according to the file type of the file destination pulled and its authority identification of carrying, determining and institute
State the matched destination document template of file type and the authority identification;Wherein, the destination document template includes wait mention
The mark of the index parameter taken.
The corresponding pass between file type, authority identification and document template three is pre-established and is stored in server
System determines document template by file type, authority identification jointly.Server is in the file type for getting the file destination pulled
And file destination carry target mechanism authority identification when, according to file type, authority identification and document template three it
Between corresponding relationship, obtain the matched destination document template of authority identification with the file type and its carrying of file destination.
Destination document template includes the mark of index parameter to be extracted, and the mark of index parameter to be extracted includes but is not limited to wait mention
The title of the index parameter taken.
Wherein, when file type is end day file, index parameter to be extracted is included at least: the deducted amount on the same day,
Repayment schedule information can also include loan ceiling, the length of maturity, go back the amount of money, not go back the amount of money.It can be in repayment schedule information
Including plan repayment date and each issue of the amount of money that should be gone back.
When file type is Claims Resolution file, index parameter to be extracted include: the loan mark of client, loan ceiling,
Interest, default interest, multiple benefit and the compensation amount of money.
When file type is to withhold file, index parameter to be extracted includes: the cost information for needing to withhold, such as is needed
Premium, the needs capital withheld, the multiple benefit for needing the interest withheld and needs to withhold to be withheld etc..
Further, due in the same type of file destination from different institutions same field may correspond to it is not of the same trade or business
Meaning of being engaged in can distribute a unique field to improve the normalization of data for each business meaning, with unique by this
Field identification its corresponding business meaning.It can also include: to be translated into the file destination pulled before S2061
The destination document of preset format;Wherein, the preset format includes JavaScript object numbered musical notation (JavaScript Object
Notation, JSON) format.
S2062: the mark of index parameter to be extracted according to the destination document template, from the mesh pulled
The corresponding target data of index parameter to be extracted is obtained in mark file.
The mechanism mark for the target mechanism that server is carried according to the file type and file destination of the file destination pulled
Know, file destination is parsed, the file data after being parsed, and obtained in the file data analytically obtained to be extracted
The corresponding target data of index parameter.Target data refers to that the corresponding value of index parameter or index parameter are respectively right
The relevant information answered.The method parsed to file destination sees above-mentioned associated description, does not repeat herein.
Further, file destination when being translated into the destination document of preset format by server, S2062 specifically: root
According to the mark of index parameter to be extracted described in the destination document template, obtained from the destination document described to be extracted
The corresponding target data of index parameter.
S2063: the corresponding target data of index parameter to be extracted is carried out by the destination document template
It arranges and stores.
Server is literary by target corresponding to the corresponding target data of the index parameter according to target file type of file
Shelves template is arranged, so that same type of file destination is organized into unified format, and the file after arrangement is pressed file
Type is stored to database, to search or manage the file after arranging by file type.
Optionally, when file acquisition request carrys out self terminal, and file acquisition requests the unique identification of carried terminal, service
Device is corresponding by file destination according to the unique identification of terminal after by file destination arrangement, according to target document template is arranged
File after arrangement is sent to terminal, so that user checks or checks.
Above scheme, server is by calling the API to match with the file type of the file destination of request to obtain
File destination, and file destination is parsed according to the file type of file destination and its authority identification of carrying, and will solution
The corresponding destination document template of file type of data after analysis according to target file is arranged.It is based on big data analysis technology
A unified file template is arranged in same type of file, and server presses the same type of file from different institutions should
The corresponding file template of file type carries out unified arrangement and sorts out, so as to will be from the same type of text of different institutions
Part is organized into unified format, can increase the readability of data, avoid the same type of file from different institutions because same
Field may correspond to different business meaning and lead to the situation of the data got from file inaccuracy, can be improved from target
The accuracy for the data extracted in file.
When due to obtaining different types of file from each mechanism, the API of calling is different, obtains from different institutions same
The API that type file is called is also different, therefore, when obtaining different types of file from different institutions, not will cause phase
Mutually interference.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Referring to Fig. 3, Fig. 3 is a kind of schematic diagram for server that one embodiment of the invention provides, server includes each
Unit is used to execute each step in the corresponding embodiment of FIG. 1 to FIG. 2.Referring specifically to the corresponding implementation of Fig. 1 and Fig. 2
Associated description in example.For ease of description, only the parts related to this embodiment are shown.Referring to Fig. 3, server 3 includes:
Receiving unit 310, for receiving file acquisition request;Wherein, the file acquisition request includes request
The file information of file destination, the file information include file type;
Determination unit 320, for determining that the corresponding source of the file destination takes according to the file information of the file destination
Be engaged in device and destination application programming interface API to be called;
File obtaining unit 330, for calling source server described in the target API Access, according to the file destination
The file information the file destination is pulled from the source server;Wherein, the file destination pulled is carried for referring to
Show and the authority identification of the target mechanism of the file destination is provided;
Finishing unit 340, the file information of the file destination for being pulled according to and its mechanism mark of carrying
Know, the file destination is arranged by the corresponding destination document template of file type of the file destination.
Further, it is determined that unit 320 includes:
Authority identification determination unit, for according to the default corresponding relationship between file type and authority identification, determination to be mentioned
For the authority identification of the target mechanism of the file destination;
Source server determination unit, for according to the default corresponding relationship between authority identification and the mark of source server,
It determines and the corresponding source server of authority identification of the target mechanism of the file destination is provided;
API determination unit, for default between the interface identifier three according to file type, authority identification and API
Corresponding relationship obtains the matched target of authority identification with the file type and the target mechanism of the file destination
API。
Further, API determination unit is specifically used for:
According to the default corresponding relationship between file type and API type, the file type institute of the file destination is determined
Target type belonging to corresponding target API;
According between the interface identifier and authority identification of API default corresponding relationship and each type of API included
API interface identifier, the determining matched institute of authority identification with the target mechanism from the API that the target type includes
State target API.
Further, finishing unit 340 is specifically used for:
According to the file type of the file destination pulled and its authority identification of carrying, the determining and file
Type and the matched destination document template of the authority identification;Wherein, the destination document template includes finger to be extracted
Mark the mark of parameter;
The mark of index parameter to be extracted according to the destination document template, from the file destination pulled
It is middle to obtain the corresponding target data of index parameter to be extracted;
The corresponding target data of index parameter to be extracted is arranged simultaneously by the destination document template
Storage.
Further, finishing unit 340 is described in the file type and its carrying of the file destination pulled according to
Authority identification, it is determining with before the file type and the matched destination document template of the authority identification, it is also used to: will
The file destination pulled is translated into the destination document of preset format;Wherein, the preset format includes JavaScript pairs
As numbered musical notation format;
Finishing unit 340 is specifically used for: the mark of index parameter to be extracted according to the destination document template,
The corresponding target data of index parameter to be extracted is obtained from the destination document.
Referring to Fig. 4, Fig. 4 be another embodiment of the present invention provides a kind of server schematic diagram.As shown in figure 4, should
The server 4 of embodiment includes: processor 40, memory 41 and is stored in the memory 41 and can be in the processor
The computer program 42 run on 40.The processor 40 is realized above-mentioned each based on big number when executing the computer program 42
According to the step in the file management method embodiment of analysis, such as S101 shown in FIG. 1 to S104.Alternatively, the processor 40
The function of each unit in above-mentioned each server example, such as unit 310 shown in Fig. 3 are realized when executing the computer program 42
To 340 function.
Illustratively, the computer program 42 can be divided into one or more units, one or more of
Unit is stored in the memory 41, and is executed by the processor 40, to complete the present invention.One or more of lists
Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey
Implementation procedure of the sequence 42 in the server 4.For example, the computer program 42 can be divided into receiving unit, determination
Unit, file obtaining unit and finishing unit etc., each unit concrete function are as described above.
The server may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that
Fig. 4 is only the example of server 4, does not constitute the restriction to server 4, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the server can also include input-output equipment, network
Access device, bus etc..
Alleged processor 40 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 41 can be the internal storage unit of the server 4, such as the hard disk or memory of server 4.
The memory 41 is also possible to the External memory equipment of the server 4, such as the plug-in type being equipped on the server 4 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 41 can also both include the internal storage unit of the server 4 or wrap
Include External memory equipment.The memory 41 is for other programs needed for storing the computer program and the server
And data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of file management method based on big data analysis characterized by comprising
Receive file acquisition request;Wherein, the file acquisition request includes the file information of the file destination of request, institute
Stating the file information includes file type;
The corresponding source server of the file destination and target to be called are determined according to the file information of the file destination
Application programming interface API;
Source server described in the target API Access is called, according to the file information of the file destination from the source server
In pull the file destination;Wherein, the file destination carrying pulled, which is used to indicate, provides the target of the file destination
The authority identification of mechanism;
According to the file information of the file destination pulled and its authority identification of carrying, the file destination is pressed into institute
The corresponding destination document template of file type for stating file destination is arranged.
2. the file management method according to claim 1 based on big data analysis, which is characterized in that described according to
The file information of file destination determines the corresponding source server of the file destination and destination application programming to be called
Interface API, comprising:
According to the default corresponding relationship between file type and authority identification, the target mechanism that the file destination is provided is determined
Authority identification;
According to the default corresponding relationship between authority identification and the mark of source server, determines and the described of the file destination is provided
The corresponding source server of the authority identification of target mechanism;
According to the default corresponding relationship between the interface identifier three of file type, authority identification and API, obtain and the mesh
Mark the matched target API of authority identification of the file type and the target mechanism of file.
3. the file management method according to claim 2 based on big data analysis, which is characterized in that described according to file
Default corresponding relationship between the interface identifier three of type, authority identification and API obtains the file with the file destination
The matched target API of the authority identification of type and the target mechanism, comprising:
According to the default corresponding relationship between file type and API type, corresponding to the file type for determining the file destination
Target API belonging to target type;
According to the default corresponding relationship and each type of API API that is included between the interface identifier and authority identification of API
Interface identifier, the determining matched mesh of authority identification with the target mechanism from the API that the target type includes
Mark API.
4. the file management method according to any one of claims 1 to 3 based on big data analysis, which is characterized in that institute
The file information of the file destination pulled according to and its authority identification of carrying are stated, by the file destination by described
The corresponding destination document template of the file type of file destination is arranged, comprising:
According to the file type of the file destination pulled and its authority identification of carrying, the determining and file type
And the matched destination document template of the authority identification;Wherein, the destination document template includes index ginseng to be extracted
Several marks;
The mark of index parameter to be extracted according to the destination document template, is obtained from the file destination pulled
Take the corresponding target data of index parameter to be extracted;
The corresponding target data of index parameter to be extracted is arranged and stored by the destination document template.
5. the file management method according to claim 4 based on big data analysis, which is characterized in that described according to
The file type of the file destination pulled and its authority identification of carrying, determining and the file type and the mechanism
Before the matched destination document template of mark, further includes:
The file destination pulled is translated into the destination document of preset format;Wherein, the preset format includes
JavaScript object numbered musical notation format;
The mark of the index parameter to be extracted according to the destination document template, from the file destination pulled
It is middle to obtain the corresponding target data of index parameter to be extracted, comprising:
The mark of index parameter to be extracted according to the destination document template, from the destination document described in acquisition
The corresponding target data of index parameter to be extracted.
6. a kind of server, which is characterized in that the server includes memory, processor and stores in the memory
And the computer program that can be run on the processor, the processor realize following step when executing the computer program
It is rapid:
Receive file acquisition request;Wherein, the file acquisition request includes the file information of the file destination of request, institute
Stating the file information includes file type;
The corresponding source server of the file destination and target to be called are determined according to the file information of the file destination
Application programming interface API;
Source server described in the target API Access is called, according to the file information of the file destination from the source server
In pull the file destination;Wherein, the file destination carrying pulled, which is used to indicate, provides the target of the file destination
The authority identification of mechanism;
According to the file information of the file destination pulled and its authority identification of carrying, the file destination is pressed into institute
The corresponding destination document template of file type for stating file destination is arranged.
7. server according to claim 6, which is characterized in that described to be determined according to the file information of the file destination
The corresponding source server of file destination and destination application programming interface API to be called, comprising:
According to the default corresponding relationship between file type and authority identification, the target mechanism that the file destination is provided is determined
Authority identification;
According to the default corresponding relationship between authority identification and the mark of source server, determines and the described of the file destination is provided
The corresponding source server of the authority identification of target mechanism;
According to the default corresponding relationship between the interface identifier three of file type, authority identification and API, obtain and the mesh
Mark the matched target API of authority identification of the file type and the target mechanism of file.
8. server according to claim 7, which is characterized in that described according to file type, authority identification and API
Default corresponding relationship between interface identifier three, the file type and the target mechanism of acquisition and the file destination
The matched target API of authority identification, comprising:
According to the default corresponding relationship between file type and API type, corresponding to the file type for determining the file destination
Target API belonging to target type;
According to the default corresponding relationship and each type of API API that is included between the interface identifier and authority identification of API
Interface identifier, the determining matched mesh of authority identification with the target mechanism from the API that the target type includes
Mark API.
9. according to the described in any item servers of claim 6 to 8, which is characterized in that the target text pulled according to
The file information of part and its authority identification of carrying, the file destination is corresponding by the file type of the file destination
Destination document template arranged, comprising:
According to the file type of the file destination pulled and its authority identification of carrying, the determining and file type
And the matched destination document template of the authority identification;Wherein, the destination document template includes index ginseng to be extracted
Several marks;
The mark of index parameter to be extracted according to the destination document template, is obtained from the file destination pulled
Take the corresponding target data of index parameter to be extracted;
The corresponding target data of index parameter to be extracted is arranged and stored by the destination document template.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810915146.7A CN109086433A (en) | 2018-08-13 | 2018-08-13 | A kind of file management method and server based on big data analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810915146.7A CN109086433A (en) | 2018-08-13 | 2018-08-13 | A kind of file management method and server based on big data analysis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109086433A true CN109086433A (en) | 2018-12-25 |
Family
ID=64834367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810915146.7A Pending CN109086433A (en) | 2018-08-13 | 2018-08-13 | A kind of file management method and server based on big data analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109086433A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109711816A (en) * | 2019-01-02 | 2019-05-03 | 深圳壹账通智能科技有限公司 | Cooperative institution's approaches to IM, device, computer equipment and storage medium |
CN109783780A (en) * | 2019-01-16 | 2019-05-21 | 平安普惠企业管理有限公司 | A kind of document handling method and relevant apparatus |
CN109871354A (en) * | 2019-01-16 | 2019-06-11 | 平安科技(深圳)有限公司 | A kind of method and device of file process |
CN109977154A (en) * | 2019-02-22 | 2019-07-05 | 青岛农业大学 | A kind of more API sets at big data terminal system method for building up |
CN112055014A (en) * | 2020-09-02 | 2020-12-08 | 中国银行股份有限公司 | File acquisition method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100250624A1 (en) * | 2009-03-27 | 2010-09-30 | Bank Of America Corporation | Source-to-processing file conversion in an electronic discovery enterprise system |
CN107241315A (en) * | 2017-05-23 | 2017-10-10 | 广州唯品会网络技术有限公司 | Cut-in method, device and the computer-readable recording medium of bank's gateway interface |
CN107291459A (en) * | 2017-06-09 | 2017-10-24 | 深圳市金立通信设备有限公司 | A kind of method and server for arranging information |
-
2018
- 2018-08-13 CN CN201810915146.7A patent/CN109086433A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100250624A1 (en) * | 2009-03-27 | 2010-09-30 | Bank Of America Corporation | Source-to-processing file conversion in an electronic discovery enterprise system |
CN107241315A (en) * | 2017-05-23 | 2017-10-10 | 广州唯品会网络技术有限公司 | Cut-in method, device and the computer-readable recording medium of bank's gateway interface |
CN107291459A (en) * | 2017-06-09 | 2017-10-24 | 深圳市金立通信设备有限公司 | A kind of method and server for arranging information |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109711816A (en) * | 2019-01-02 | 2019-05-03 | 深圳壹账通智能科技有限公司 | Cooperative institution's approaches to IM, device, computer equipment and storage medium |
CN109783780A (en) * | 2019-01-16 | 2019-05-21 | 平安普惠企业管理有限公司 | A kind of document handling method and relevant apparatus |
CN109871354A (en) * | 2019-01-16 | 2019-06-11 | 平安科技(深圳)有限公司 | A kind of method and device of file process |
CN109871354B (en) * | 2019-01-16 | 2023-08-22 | 平安科技(深圳)有限公司 | File processing method and device |
CN109977154A (en) * | 2019-02-22 | 2019-07-05 | 青岛农业大学 | A kind of more API sets at big data terminal system method for building up |
CN112055014A (en) * | 2020-09-02 | 2020-12-08 | 中国银行股份有限公司 | File acquisition method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109086433A (en) | A kind of file management method and server based on big data analysis | |
CN108415832A (en) | Automatic interface testing method, device, equipment and storage medium | |
US20020022987A1 (en) | Common database system for sales and marketing process | |
CN110532536B (en) | Rule configuration method and device | |
CN103049271A (en) | Method and device for automatically generating description document of API (application program interface) | |
CN101515245A (en) | Operation log recording method and system | |
CN113205339A (en) | Transaction query and transaction data processing method, device and equipment based on block chain | |
CN108959337A (en) | Big data acquisition methods, device, equipment and storage medium | |
CN110263145A (en) | A kind of electronic contract signature method and electronic contract sign equipment | |
Park et al. | Opera: Object-centric performance analysis | |
CN108268468A (en) | The analysis method and system of a kind of big data | |
CN109615172A (en) | A kind of method and terminal handling examination data | |
CN112308727A (en) | Insurance claim settlement service processing method and device | |
US11144536B2 (en) | Systems and methods for real-time analytics detection for a transaction utilizing synchronously updated statistical aggregation data | |
CN112769951A (en) | Payment network state processing method and server combining block chain and online service | |
CN107679937A (en) | Customize method, system, storage medium and the equipment of service function | |
CN107798459A (en) | Parameter values computational methods, device, storage medium and computer equipment | |
CN110362630A (en) | Data managing method, device, equipment and computer readable storage medium | |
CN112258306B (en) | Account information checking method, device, electronic equipment and storage medium | |
CN109542890B (en) | Data modification method, device, computer equipment and storage medium | |
US20130262378A1 (en) | Aggregation point for enterprise business application binding | |
CN107430746B (en) | Credit transaction management system and method thereof | |
US9947039B2 (en) | Order item recognition system | |
CN107563888B (en) | System and method for uniformly managing online bills | |
CN113269523A (en) | Intelligent auditing method and device based on portrait, storage medium and electronic equipment |
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 | ||
AD01 | Patent right deemed abandoned | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20231208 |