CN107656944A - The storage method and file server of quotation monofile - Google Patents
The storage method and file server of quotation monofile Download PDFInfo
- Publication number
- CN107656944A CN107656944A CN201610711580.4A CN201610711580A CN107656944A CN 107656944 A CN107656944 A CN 107656944A CN 201610711580 A CN201610711580 A CN 201610711580A CN 107656944 A CN107656944 A CN 107656944A
- Authority
- CN
- China
- Prior art keywords
- monofile
- file
- file directory
- generation time
- quotation
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Library & Information Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of storage method for monofile of offering, this method includes:File server receives the quotation monofile of management server transmission and the generation time of the quotation monofile, and the file directory for storing the quotation monofile is determined according to the generation time, wherein, file directory is the multilayer time catalogue with generating time match, and this document server stores the quotation monofile to this document catalogue.The invention also discloses a kind of file server, because file server has excellent data storage performance, during so that storing quotation monofile using file server, burden will not be also brought to file server even if a large amount of price list file cocurrent storages, and by the way that quotation monofile is stored to the file directory for the multilayer time that time match is generated with it, the corrupt data for monofile of being offered when also can effectively avoid storing.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of storage method and file server of monofile of offering.
Background technology
In dangerous system is produced, including at least quotation subsystem and telemarketing subsystem, wherein, quotation subsystem includes report
Valency server, telemarketing subsystem include management server and operator attendance, the operator attendance in telemarketing subsystem
Quotation subsystem can be logged in.
Operator attendance is during telemarketing, however, it is determined that client has the idea that purchase is insured, then first can be given birth to for client
Into price list so that client can determine whether purchase insurance based on price list.Wherein, it is determined that client has thinking for purchase insurance
In the case of method, operator attendance will cut quotation subsystem, and by operator attendance side sales force quotation subsystem page
The related data that the client buys insurance is inputted on face, and after data entry is complete, operator attendance sends out the related data
The quotation server in quotation subsystem is given, quotation server generates price list according to the related data, and by all reports
Valency forms data is sent to the management server in telemarketing subsystem, wherein, include price list and generation in forms data of offering
Rule and parameter used in the price list.
Management server stores the quotation monofile according to the quotation forms data generation quotation monofile received.
At present, quotation monofile is generally stored inside in database server, and is stored under same catalogue, however, by
In substantial amounts of price list file cocurrent in telemarketing subsystem, often be present, due to database server number
Weaker according to disposal ability, a large amount of price list file cocurrents are stored in the corrupt data that storage is easily caused under same catalogue, and
Very big burden is brought to database server, database server is easily caused and situation about collapsing occurs.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill
Art.
The content of the invention
It is a primary object of the present invention to provide a kind of storage method and file server of monofile of offering, it is intended to solve
In the prior art because the data-handling capacity of database server is weaker, a large amount of price list file cocurrents easily go out when storing
Mistake, and burden is larger, the technical problem for database server collapse easily occur.
To achieve the above object, a kind of storage method of monofile of offering provided by the invention, methods described include:
File server receives the generation time of offer monofile and the quotation monofile that management server is sent;
The file server determines the file directory for storing the quotation monofile according to the generation time, its
In, the file directory is the multilayer time catalogue with the generation time match;
The file server stores the quotation monofile to the file directory.
Preferably, the file server determines the file for storing the quotation monofile according to the generation time
The step of catalogue, includes:
The file directory list preserved is searched using the generation time, determines whether deposited in the file directory list
In the file directory with the generation time match;Include what is established in the file server in the file directory list
All Files catalogue;
If the file directory with the generation time match is not present in the file directory list, it is based on pre-setting
Multilayer time catalogue create-rule and it is described generation the time establish with it is described generation time match file directory;
The file directory of foundation is added in the file directory list.
Preferably, the create-rule and the generation time foundation and institute based on the multilayer time catalogue pre-set
The step of file directory for stating generation time match, includes:
When the create-rule of the multilayer time catalogue pre-set is N layer directory rules, when choosing the generation successively
Between year, month, day, hour, min, the top n time value in the second, the N is positive integer, and 2≤N≤6;
File directory with the multilayer time is established with N number of time value of selection.
Preferably, methods described also includes:
The price list file acquisition request that the management server is sent is received, it is described to obtain in request comprising to be obtained
The generation time of the numbering of target offers monofile and the target offers monofile;
The mesh is obtained according to the generation time of the numbering of the target offers monofile and the target offers monofile
Mark quotation monofile;
The target offers monofile of acquisition is fed back into the management server.
Preferably, it is described according to the numbering of the target offers monofile and the generation time of the target offers monofile
The step of obtaining the target offers monofile includes:
Search the file directory list using the generation time of the target offers monofile, it is determined that with the target report
The file directory of the generation time match of valency monofile;
The file directory is searched using the numbering of the target offers monofile, obtains the target offers found
Monofile.
To achieve the above object, the present invention also provides a kind of file server, and the file server includes:
Receiving module, for receive management server transmission quotation monofile and it is described quotation monofile generation when
Between;
Catalogue determining module, for determining the file mesh for storing the quotation monofile according to the generation time
Record, wherein, the file directory is the multilayer time catalogue with the generation time match;
Memory module, for the quotation monofile to be stored to the file directory.
Preferably, the catalogue determining module includes:
Determining module is searched, for searching the file directory list preserved using the generation time, determines the text
It whether there is the file directory with the generation time match in part directory listing, the text included in the file directory list
The All Files catalogue established in part server;
Module is established, if for the file directory with the generation time match to be not present in the file directory list,
Create-rule and the generation time then based on the multilayer time catalogue pre-set are established and the generation time match
File directory;
Add module, for the file directory of foundation to be added in the file directory list.
Preferably, the module of establishing includes:
Module is chosen, for when the create-rule of the multilayer time catalogue pre-set is N layer directory rules, selecting successively
Year, month, day, hour, min, the top n time value in the second of the generation time is taken, the N is positive integer, and 2≤N≤6;
Catalogue establishes module, for establishing the file directory with the multilayer time with N number of time value of selection.
Preferably, the file server also includes:
Request receiving module, the price list file acquisition request sent for receiving the management server, the acquisition
The generation time of numbering comprising target offers monofile to be obtained and the target offers monofile in request;
First acquisition module, the life for the numbering according to the target offers monofile and the target offers monofile
The target offers monofile is obtained into the time;
Feedback module, for the target offers monofile of acquisition to be fed back into the management server.
Preferably, first acquisition module includes:
List block is searched, for searching the file directory row using the generation time of the target offers monofile
Table, it is determined that the file directory with the generation time match of the target offers monofile;
Second acquisition module, for searching the file directory using the numbering of the target offers monofile, acquisition is looked into
The target offers monofile found.
The present invention provides a kind of storage method for monofile of offering, and in the method, file server receives management service
The quotation monofile and the generation time of the quotation monofile that device is sent, and determine to be used to store the quotation according to the generation time
The file directory of monofile, wherein, file directory is the multilayer time catalogue with generating time match, and this document server will
The quotation monofile is stored to this document catalogue.The present invention also provides a kind of file server for being used to realize the above method,
Because file server has excellent data storage performance so that when storing quotation monofile using file server, even if
A large amount of price list file cocurrents storages will not also bring burden to file server, and by the monofile that will offer store to its
Under the file directory for generating the multilayer time of time match, the corrupt data of quotation monofile when also can effectively avoid storing.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the storage method of quotation monofile in first embodiment of the invention;
Fig. 2 is the schematic flow sheet of the refinement step of step 102 in first embodiment shown in Fig. 1 of the present invention;
Fig. 3 is the schematic flow sheet of the refinement step of step 202 in embodiment illustrated in fig. 2 of the present invention;
Fig. 4 is the schematic flow sheet of the addition step of first embodiment of the invention;
Fig. 5 is the schematic flow sheet of the refinement step of step 402 in embodiment illustrated in fig. 4 of the present invention;
Fig. 6 is the schematic diagram of the functional module of file server in second embodiment of the invention;
Fig. 7 is the schematic diagram of the refinement functional module of catalogue determining module 602 in second embodiment shown in Fig. 6 of the present invention;
Fig. 8 is the schematic diagram for the refinement functional module that module 702 is established in embodiment illustrated in fig. 7;
Fig. 9 is the schematic diagram of the functional module of file server in third embodiment of the invention;
Figure 10 is the schematic diagram of the refinement functional module of the first acquisition module 902 in 3rd embodiment shown in Fig. 9.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Because the data-handling capacity of database server in the prior art is weaker and is stored under same catalogue, greatly
Easily cause to offer the corrupt data of monofile during amount price list file cocurrent storage, and brings to database server larger
Burden, the situation that database server collapses easily is caused to occur.
In order to solve the above problems, the present invention proposes a kind of storage method and file server of monofile of offering, passes through
Use the file server storage quotation monofile with stronger processing power so that deposit even in a large amount of price list file cocurrents
Also the storage of quotation monofile can be fast and effectively completed in the case of storage, burden can't be brought to file server,
File server will not be caused to collapse, and by the way that quotation monofile is stored to the text for the multilayer time that time match is generated with it
Under part catalogue, the corrupt data of quotation monofile when also can effectively avoid storing.
Referring to Fig. 1, the schematic flow sheet of the storage method for monofile of being offered in first embodiment of the invention, this method
Including:
Step 101, file server receive the life of quotation monofile and the quotation monofile that management server is sent
Into the time;
Step 102, the file server determine the text for storing the quotation monofile according to the generation time
Part catalogue, wherein, the file directory is the multilayer time catalogue with the generation time match;
Step 103, the file server store the quotation monofile to the file directory.
In embodiments of the present invention, the storage method of monofile of offering is applied to produce in dangerous system, in the production danger system extremely
Less comprising telemarketing subsystem and quotation subsystem, wherein, telemarketing subsystem include operator attendance, management server and
File server, this document server can carry out data interaction with management server, and management server is used to manage phone pin
Sell the operator attendance and file server in subsystem.
Wherein, file server is a kind of device, and its function is enough exactly storage file, and can be carried to management server
For file, this document can be specifically quotation monofile, and file server has the function of stronger memory, enabling has
The storage of the realization quotation monofile of effect, and the situation of a large amount of price list file cocurrent storages can be carried.
Wherein, quotation subsystem includes quotation server, and operator attendance can log in simultaneously telemarketing subsystem and
Quotation subsystem, and management server can carry out data interaction with quotation server.
In embodiments of the present invention, in telemarketing subsystem, the sales force of operator attendance side is passing through telephonic communication
Mode to client's selling insurance when, however, it is determined that client have purchase insure wish, then can log in quotation system, quotation be
The related data of client are inputted on the page of system, for example, in the case where client needs to buy vehicle insurance, it is necessary to by operator attendance side
Sales force input client vehicle license plate number, time buying, the model of vehicle, the data such as distance travelled.And sell
For personnel after ACK button is clicked on, the related data of input is sent to the quoting services in quotation subsystem by operator attendance
Device, price list is generated according to the data received by quotation server, and by the create-rule of price list and the price list with making
Parameter used etc. is sent to the management server in telemarketing subsystem as quotation forms data.
Management server determines the life of the quotation monofile using the quotation forms data generation quotation monofile received
File server is sent into the time, and by the generation time of the quotation monofile and the quotation monofile, by file server
Complete the storage of the quotation monofile.
In embodiments of the present invention, file server will receive the quotation monofile and the price list of management server transmission
The generation time of file, and the file directory for storing the quotation monofile is determined according to the generation time, wherein, this document
Catalogue is the multilayer time catalogue with the generation time match of the quotation monofile, it is determined that after file directory, file service
Device stores the quotation monofile to this document catalogue.
Wherein, the file directory of storage quotation monofile is relevant with the generation time of the quotation monofile, and multilayer
Time refers at least two catalogue layers formed in the parameters such as year, month, day, hour, min, second, for example, first layer is time, the
Two layers are that month, third layer are days etc., can form two layers, three layers even six layers of file directory.Pass through profit
Quotation monofile is preserved with the file directory of multilayer time form, enabling quotation monofile is stored based on the time,
It is easy to the storage and reading of quotation monofile.
It should be noted that telemarketing system can also include database server, management server is offered in generation
Monofile and in the case that the generation time of offer monofile and the quotation monofile is sent into file server, management service
Device will also obtain the multiple parameter values for specifying parameter type from quotation forms data, and the plurality of parameter value is formed into the price list
Summary info, and the summary info is stored in database server.Wherein, the summary info of price list comprises at least report
The numbering of valency list, customer information, purchase information etc..
In embodiments of the present invention, by setting file server in telemarketing system, file service utensil is utilized
The outstanding process performance having, the storage of quotation monofile can be effectively realized, even a large amount of price list file cocurrents are deposited
The situation of storage, burden can't be also brought to file server, will not more cause file server to collapse, and by using quotation
The generation time of monofile determines the file directory of storage, enabling effectively realizes time-based Bedding storage, avoids
There is the situation of the error in data stored during storage quotation monofile.
Referring to Fig. 2, be the schematic flow sheet of the refinement step of step 102 in first embodiment shown in Fig. 1 of the present invention, should
Step 102 includes:The file server determines the file mesh for storing the quotation monofile according to the generation time
Record, the refinement step of the step 102 include:
Step 201, the file directory list preserved is searched using the generation time, determine the file directory list
In whether there is and it is described generation time match file directory;Included in the file directory list in the file server
The All Files catalogue established;
If the file directory with the generation time match is not present in step 202, the file directory list, it is based on
The create-rule of the multilayer time catalogue pre-set and the generation time establish the file mesh with the generation time match
Record;
Step 203, by the file directory of foundation be added to the file directory list in.
In embodiments of the present invention, file server is used to store price list, and is the file by multilayer time form
What catalogue was stored, enabling all quotation monofiles with same file directory matches are all stored in same mesh
Under record.Such as:, then can be by 14 points of August 9 day in 2016 if file directory comprising six layers, is year, month, day, hour, min, second respectively
It is the file of 06 second of August 9 day 14 point 52 minute in 2016 that all quotation monofiles of 52 points of generations in 06 second, which are all stored in file directory,
Under catalogue.
In embodiments of the present invention, file server is receiving the generation time of quotation monofile and the quotation monofile
Afterwards, the file directory list preserved will be searched using the generation time, determines to whether there is and this in this document catalogue listing
The file directory of time match is generated, wherein, the All Files catalogue established in file server is included in FDT.
And if in the absence of the file directory with the generation time match in this document catalogue listing, file server will be based on pre-setting
Multilayer time catalogue create-rule and the generation time establish with the file directory of the generation time match, and by foundation
File directory is added in this document directory listing so that quotation monofile can be stored in this document catalogue.If this document
The file directory with the generation time match in catalogue listing be present, then show that the text with the generation time match need not be resettled
Quotation monofile directly can be stored in this document catalogue by part catalogue, file server.
In embodiments of the present invention, file server passes through the locating file catalogue in file directory list, enabling
The file directory of the generation time match of quotation monofile for determining whether to have built up and receiving, and in file directory list
In be not present with the file directory of the generation time match in the case of, just establish file directory, and arrange added to file directory
In table, avoid establishing the situation appearance that identical file directory causes quotation monofile to store confusion.
Referring to Fig. 3, be the schematic flow sheet of the refinement step of step 202 in embodiment illustrated in fig. 2 of the present invention, the step
202 include:The create-rule based on the multilayer time catalogue pre-set and the generation time establish and the generation
The file directory of time match, the refinement step of the step 202 include:
Step 301, when the create-rule of the multilayer time catalogue pre-set is N layer directory rules, choose institute successively
Year, month, day, hour, min, the top n time value in the second of generation time is stated, the N is more than or equal to 2, and less than or equal to 6,
And N is positive integer;
Step 302, the file directory with the multilayer time is established with N number of time value of selection.
In embodiments of the present invention, during with the time setting file directory, it may be constructed the file mesh of multilayer time form
Record, wherein, the parameter used is year, month, day, hour, min, multiple since year in the second, for example, being formed 3 with year, month, day
The file directory of layer time form so that all quotation monofiles of generation will all be stored in same file catalogue in same day
Under, such as, with year, month, day, when formed the file directory of 4 layers of time form so that in all price lists of generation of same hour
File will be all stored under same file catalogue, for example, being formed the file mesh of 5 layers of time form with year, month, day, hour, min
Record so that under all quotation monofiles generated in identical in one minute all will be stored in same file catalogue, for example, with
The file directory for 6 layers of time form that year, month, day, hour, min, second are formed so that all quotations generated in identical in one second
Monofile will be all stored under same file catalogue.It is understood that to be more applied to data volume big for the higher situation of the number of plies
Situation, and in actual applications, can be according to specific it needs to be determined that the number of plies of file directory, is not limited herein.
In embodiments of the present invention, when establishing file directory, it is necessary to which obtain that this document server uses pre-sets
Multilayer time catalogue create-rule, and when the create-rule of the multilayer time catalogue is N layer directory rules, file service
Device will choose the year, month, day, hour, min of above-mentioned generation time, each time values of preceding N in the second successively, and using choose it is N number of when
Between value establish with the multilayer time file directory.Wherein, N is positive integer, and N is more than or equal to 2 and less than or equal to 6.It is logical
Aforesaid way is crossed, can effectively realize the foundation of file directory, in order to the form storage price list text being layered based on the time
Part, convenience file server are managed to the quotation monofile of storage.
Formed first embodiment, or first be bonded based on Fig. 1, Fig. 2 and Fig. 3 are combined with Fig. 2 based on Fig. 1
Embodiment, referring to Fig. 4, the schematic flow sheet of the addition step for first embodiment of the invention, the addition step includes:
Step 401, the price list file acquisition request that the management server is sent is received, described obtain includes in request
The generation time of the numbering of target offers monofile to be obtained and the target offers monofile;
Step 402, obtained according to the numbering of the target offers monofile and the generation time of the target offers monofile
Take the target offers monofile;
Step 403, the target offers monofile of acquisition fed back into the management server.
In embodiments of the present invention, the price list is sent to client, and visitor by management server after price list is generated
Family is after price list is checked, however, it is determined that the corresponding insurance of purchase, then confirmation instruction will be sent to management server, the confirmation refers to
The coding of target offers list is included in order.Management server by the coding lookup database server based on the target offers list,
The coding of the quotation monofile generated is comprised at least in the database server and between the generation time of the quotation monofile
Mapping relations.Wherein, because the coding of price list and the coding of quotation monofile are consistent, therefore, quotation can be utilized
Single above-mentioned mapping relations of coding lookup, to determine the generation time of target offers monofile.By the above-mentioned means, management service
Device can effectively get the generation time of target offers list to be checked.
Management server using target offers monofile to be checked coding and the target offers monofile generation when
Between generate the request of price list file acquisition, and be sent to file server.
File server by the numbering for utilizing the target offers monofile and is somebody's turn to do after above-mentioned acquisition request is received
The generation time of target offers monofile obtains target offers monofile.Specific acquisition modes please be refering to Fig. 5, for the present invention
The schematic flow sheet of the refinement step of step 402 in embodiment illustrated in fig. 4, the refinement step of the step 402 include:
Step 501, the generation time lookup file directory list using the target offers monofile, it is determined that and institute
State the file directory of the generation time match of target offers monofile;
Step 502, using the numbering of the target offers monofile search the file directory, obtain find it is described
Target offers monofile.
In embodiments of the present invention, file server will utilize the generation time locating file catalogue of target offers monofile
List, to determine the file directory with the generation time match of the target offers monofile, the catalogue has as preserved the target
The catalogue of quotation monofile.And the numbering using the target offers monofile is searched this document catalogue by file server, obtain
The target offers monofile arrived found.
And after target offers monofile is got, the target offers monofile is fed back to management clothes by file server
Business device, management server is based on target offers monofile generation insurance application, and distributes to corresponding operator attendance and followed up.
In embodiments of the present invention, target can effectively be realized by using the numbering and generation time of target offers list
The inquiry of price list, and inquiry velocity is fast, efficiency high.
Referring to Fig. 6, be the schematic diagram of the functional module of file server in second embodiment of the invention, the file clothes
Business device includes:Receiving module 601, catalogue determining module 602 and memory module 603.
Receiving module 601, the generation of quotation monofile and the quotation monofile for receiving management server transmission
Time;
Catalogue determining module 602, for determining the file for storing the quotation monofile according to the generation time
Catalogue, wherein, the file directory is the multilayer time catalogue with the generation time match;
Memory module 603, for the quotation monofile to be stored to the file directory.
In embodiments of the present invention, the storage method of monofile of offering is applied to produce in dangerous system, in the production danger system extremely
Less comprising telemarketing subsystem and quotation subsystem, wherein, telemarketing subsystem include operator attendance, management server and
File server, this document server can carry out data interaction with management server, and management server is used to manage phone pin
Sell the operator attendance and file server in subsystem.
Wherein, file server is a kind of device, and its function is enough exactly storage file, and can be carried to management server
For file, this document can be specifically quotation monofile, and file server has the function of stronger memory, enabling has
The storage of the realization quotation monofile of effect, and the situation of a large amount of price list file cocurrent storages can be carried.
Wherein, quotation subsystem includes quotation server, and operator attendance can log in simultaneously telemarketing subsystem and
Quotation subsystem, and management server can carry out data interaction with quotation server.
In embodiments of the present invention, in telemarketing subsystem, the sales force of operator attendance side is passing through telephonic communication
Mode to client's selling insurance when, however, it is determined that client have purchase insure wish, then can log in quotation system, quotation be
The related data of client are inputted on the page of system, for example, in the case where client needs to buy vehicle insurance, it is necessary to by operator attendance side
Sales force input client vehicle license plate number, time buying, the model of vehicle, the data such as distance travelled.And sell
For personnel after ACK button is clicked on, the related data of input is sent to the quoting services in quotation subsystem by operator attendance
Device, price list is generated according to the data received by quotation server, and by the create-rule of price list and the price list with making
Parameter used etc. is sent to the management server in telemarketing subsystem as quotation forms data.
Management server determines the life of the quotation monofile using the quotation forms data generation quotation monofile received
File server is sent into the time, and by the generation time of the quotation monofile and the quotation monofile, by file server
Complete the storage of the quotation monofile.
In embodiments of the present invention, the receiving module 601 in file server will receive the quotation of management server transmission
The generation time of monofile and the quotation monofile, and determine to be used to store according to the generation time by catalogue determining module 602
The file directory of the quotation monofile, wherein, when this document catalogue is the multilayer with the generation time match of the quotation monofile
Between catalogue, it is determined that after file directory, memory module 603 stores the quotation monofile to this document catalogue.
Wherein, the file directory of storage quotation monofile is relevant with the generation time of the quotation monofile, and multilayer
Time refers at least two catalogue layers formed in the parameters such as year, month, day, hour, min, second, for example, first layer is time, the
Two layers are that month, third layer are days etc., can form two layers, three layers even six layers of file directory.Pass through profit
Quotation monofile is preserved with the file directory of multilayer time form, enabling quotation monofile is stored based on the time,
It is easy to the storage and reading of quotation monofile.
It should be noted that telemarketing system can also include database server, management server is offered in generation
Monofile and in the case that the generation time of offer monofile and the quotation monofile is sent into file server, management service
Device will also obtain the multiple parameter values for specifying parameter type from quotation forms data, and the plurality of parameter value is formed into the price list
Summary info, and the summary info is stored in database server.Wherein, the summary info of price list comprises at least report
The numbering of valency list, customer information, purchase information etc..
In embodiments of the present invention, by setting file server in telemarketing system, file service utensil is utilized
The outstanding process performance having, the storage of quotation monofile can be effectively realized, even a large amount of price list file cocurrents are deposited
The situation of storage, burden can't be also brought to file server, will not more cause file server to collapse, and by using quotation
The generation time of monofile determines the file directory of storage, enabling effectively realizes time-based Bedding storage, avoids
There is the situation of the error in data stored during storage quotation monofile.
Referring to Fig. 7, it is the refinement functional module of catalogue determining module 602 in second embodiment shown in Fig. 6 of the present invention
Schematic diagram, the catalogue determining module 602 include:Search determining module 701, establish module 702 and add module 703.
Determining module 701 is searched, for searching the file directory list preserved using the generation time, it is determined that described
It whether there is the file directory with the generation time match in file directory list, comprising described in the file directory list
The All Files catalogue established in file server;
Module 702 is established, if for the file mesh with the generation time match to be not present in the file directory list
Record, then create-rule and the generation time based on the multilayer time catalogue pre-set are established and the generation time match
File directory;
Add module 703, for the file directory of foundation to be added in the file directory list.
In embodiments of the present invention, file server is used to store price list, and is the file by multilayer time form
What catalogue was stored, enabling all quotation monofiles with same file directory matches are all stored in same mesh
Under record.Such as:, then can be by 14 points of August 9 day in 2016 if file directory comprising six layers, is year, month, day, hour, min, second respectively
It is the file of 06 second of August 9 day 14 point 52 minute in 2016 that all quotation monofiles of 52 points of generations in 06 second, which are all stored in file directory,
Under catalogue.
In embodiments of the present invention, file server is receiving the generation time of quotation monofile and the quotation monofile
Afterwards, search determining module 701 and the file directory list preserved is searched using the generation time, determine in this document catalogue listing
With the presence or absence of the file directory with the generation time match, wherein, include what is established in file server in FDT
All Files catalogue.And if establish module 702 in the absence of the file directory with the generation time match in this document catalogue listing
Create-rule based on the multilayer time catalogue pre-set and the generation time are established to the file with the generation time match
Catalogue, and the file directory of foundation is added in this document directory listing by add module 703 so that quotation monofile can
It is stored in this document catalogue.If the file directory with the generation time match in this document catalogue listing be present, show to be not required to
The file directory with the generation time match is resettled, quotation monofile directly can be stored in this document by file server
In catalogue.
In embodiments of the present invention, file server passes through the locating file catalogue in file directory list, enabling
The file directory of the generation time match of quotation monofile for determining whether to have built up and receiving, and in file directory list
In be not present with the file directory of the generation time match in the case of, just establish file directory, and arrange added to file directory
In table, avoid establishing the situation appearance that identical file directory causes quotation monofile to store confusion.
Referring to Fig. 8, to establish the schematic diagram of the refinement functional module of module 702, institute in embodiment illustrated in fig. 7 of the present invention
State and establish module 702 and include:Choose module 801 and catalogue establishes module 802.
Module 801 is chosen, for when the create-rule of the multilayer time catalogue pre-set is N layer directory rules, according to
Secondary year, month, day, hour, min, the top n time value in the second for choosing the generation time, the N is positive integer, and 2≤N≤6;
Catalogue establishes module 802, for establishing the file directory with the multilayer time with N number of time value of selection.
In embodiments of the present invention, during with the time setting file directory, it may be constructed the file mesh of multilayer time form
Record, wherein, the parameter used is year, month, day, hour, min, multiple since year in the second, for example, being formed 3 with year, month, day
The file directory of layer time form so that all quotation monofiles of generation will all be stored in same file catalogue in same day
Under, such as, with year, month, day, when formed the file directory of 4 layers of time form so that in all price lists of generation of same hour
File will be all stored under same file catalogue, for example, being formed the file mesh of 5 layers of time form with year, month, day, hour, min
Record so that under all quotation monofiles generated in identical in one minute all will be stored in same file catalogue, for example, with
The file directory for 6 layers of time form that year, month, day, hour, min, second are formed so that all quotations generated in identical in one second
Monofile will be all stored under same file catalogue.It is understood that to be more applied to data volume big for the higher situation of the number of plies
Situation, and in actual applications, can be according to specific it needs to be determined that the number of plies of file directory, is not limited herein.
In embodiments of the present invention, when establishing file directory, it is necessary to which obtain that this document server uses pre-sets
Multilayer time catalogue create-rule, and when the create-rule of the multilayer time catalogue is N layer directory rules, choose module
801 will choose the year, month, day, hour, min of above-mentioned generation time, each time values of preceding N in the second successively, and catalogue establishes module 802
The file directory with the multilayer time is established using N number of time value of selection.Wherein, N is positive integer, and N be more than or equal to 2 and
Less than or equal to 6.By the above-mentioned means, the foundation of file directory can be effectively realized, in order to the shape being layered based on the time
Formula storage quotation monofile, convenience file server are managed to the quotation monofile of storage.
The second embodiment being bonded based on Fig. 6 and Fig. 7, referring to Fig. 9, being taken for file in third embodiment of the invention
The schematic diagram of the functional module of business device, this document server include lookup determining module 701 as shown in Figure 6, establish module 702
And add module 703.And the catalogue determining module 602 includes:Search determining module 701, establish module 702 and add module
703.And it is similar to the content that Fig. 6 and embodiment illustrated in fig. 7 are described respectively, do not repeat herein.
It is understood that the 3rd embodiment shown in Fig. 9 can also combine formed second in Fig. 6, Fig. 7 and Fig. 8
Obtained on the basis of embodiment.
The file server also includes:
Request receiving module 901, the price list file acquisition request sent for receiving the management server are described to obtain
Take the generation time of the numbering comprising target offers monofile to be obtained and the target offers monofile in request;
First acquisition module 902, for the numbering according to the target offers monofile and the target offers monofile
The generation time obtain the target offers monofile;
Feedback module 903, for the target offers monofile of acquisition to be fed back into the management server.
In embodiments of the present invention, the price list is sent to client, and visitor by management server after price list is generated
Family is after price list is checked, however, it is determined that the corresponding insurance of purchase, then confirmation instruction will be sent to management server, the confirmation refers to
The coding of target offers list is included in order.Management server by the coding lookup database server based on the target offers list,
The coding of the quotation monofile generated is comprised at least in the database server and between the generation time of the quotation monofile
Mapping relations.Wherein, because the coding of price list and the coding of quotation monofile are consistent, therefore, quotation can be utilized
Single above-mentioned mapping relations of coding lookup, to determine the generation time of target offers monofile.By the above-mentioned means, management service
Device can effectively get the generation time of target offers list to be checked.
Management server using target offers monofile to be checked coding and the target offers monofile generation when
Between generate the request of price list file acquisition, and be sent to file server.
Request receiving module 901 in file server is after above-mentioned acquisition request is received, the first acquisition module
902 will obtain target offers Dan Wen using the generation time of the numbering of the target offers monofile and the target offers monofile
Part, and the target offers monofile of acquisition is fed back into management server by feedback module 903, to realize obtaining for monofile of offering
Take.
Referring to Fig. 10, the signal for the refinement functional module of the first acquisition module 902 in 3rd embodiment shown in Fig. 9
Figure, first acquisition module 902 include:Search the acquisition module 1002 of list block 1001 and second.
List block 1001 is searched, for searching the file directory using the generation time of the target offers monofile
List, it is determined that the file directory with the generation time match of the target offers monofile;
Second acquisition module 1002, for searching the file directory using the numbering of the target offers monofile, obtain
Take the target offers monofile found.
In embodiments of the present invention, the lookup list block 1001 in file server will utilize target offers monofile
Time locating file directory listing is generated, should to determine the file directory with the generation time match of the target offers monofile
Catalogue has as preserved the catalogue of the target offers monofile.And second acquisition module 1002 will utilize the target offers monofile
Numbering search this document catalogue, obtain the target offers monofile arrived found.
And after target offers monofile is got, the target offers monofile is fed back to management clothes by file server
Business device, management server is based on target offers monofile generation insurance application, and distributes to corresponding operator attendance and followed up.
In embodiments of the present invention, target can effectively be realized by using the numbering and generation time of target offers list
The inquiry of price list, and inquiry velocity is fast, efficiency high.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner, or network equipment etc.) method that performs each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of storage method for monofile of offering, it is characterised in that methods described includes:
File server receives the generation time of offer monofile and the quotation monofile that management server is sent;
The file server determines the file directory for storing the quotation monofile according to the generation time, wherein,
The file directory is the multilayer time catalogue with the generation time match;
The file server stores the quotation monofile to the file directory.
2. according to the method for claim 1, it is characterised in that the file server determines to use according to the generation time
Include in the step of file directory of the storage quotation monofile:
Search the file directory list that has preserved using the generation time, determine to whether there is in the file directory list with
The file directory of the generation time match;It is all comprising what is established in the file server in the file directory list
File directory;
It is more based on what is pre-set if the file directory with the generation time match is not present in the file directory list
The create-rule of layer time catalogue and the generation time establish the file directory with the generation time match;
The file directory of foundation is added in the file directory list.
3. according to the method for claim 2, it is characterised in that the generation based on the multilayer time catalogue pre-set
The step of regular and described generation time foundation and the file directory of the generation time match, includes:
When the create-rule of the multilayer time catalogue pre-set is N layer directory rules, the generation time is chosen successively
Year, month, day, hour, min, the top n time value in the second, the N are positive integer, and 2≤N≤6;
File directory with the multilayer time is established with N number of time value of selection.
4. according to the method in claim 2 or 3, it is characterised in that methods described also includes:
The price list file acquisition request that the management server is sent is received, described obtain in request includes target to be obtained
The numbering of monofile of offering and the generation time of the target offers monofile;
The target report is obtained according to the generation time of the numbering of the target offers monofile and the target offers monofile
Valency monofile;
The target offers monofile of acquisition is fed back into the management server.
5. according to the method for claim 4, it is characterised in that the numbering and institute according to the target offers monofile
The step of generation time acquisition target offers monofile for stating target offers monofile, includes:
Search the file directory list using the generation time of the target offers monofile, it is determined that with the target offers list
The file directory of the generation time match of file;
The file directory is searched using the numbering of the target offers monofile, obtains the target offers Dan Wen found
Part.
6. a kind of file server, it is characterised in that the file server includes:
Receiving module, for receiving the quotation monofile of management server transmission and the generation time of the quotation monofile;
Catalogue determining module, for determining the file directory for storing the quotation monofile according to the generation time, its
In, the file directory is the multilayer time catalogue with the generation time match;
Memory module, for the quotation monofile to be stored to the file directory.
7. file server according to claim 6, it is characterised in that the catalogue determining module includes:
Determining module is searched, for searching the file directory list preserved using the generation time, determines the file mesh
The file directory that whether there is in list with the generation time match is recorded, is taken in the file directory list comprising the file
The All Files catalogue established in business device;
Module is established, if for the file directory with the generation time match, base to be not present in the file directory list
The file with the generation time match is established in the create-rule of the multilayer time catalogue pre-set and the generation time
Catalogue;
Add module, for the file directory of foundation to be added in the file directory list.
8. file server according to claim 7, it is characterised in that the module of establishing includes:
Module is chosen, for when the create-rule of the multilayer time catalogue pre-set is N layer directory rules, choosing institute successively
Year, month, day, hour, min, the top n time value in the second of generation time is stated, the N is positive integer, and 2≤N≤6;
Catalogue establishes module, for establishing the file directory with the multilayer time with N number of time value of selection.
9. the file server according to claim 7 or 8, it is characterised in that the file server also includes:
Request receiving module, the price list file acquisition request sent for receiving the management server are described to obtain request
In comprising target offers monofile to be obtained numbering and the target offers monofile the generation time;
First acquisition module, during generation for the numbering according to the target offers monofile and the target offers monofile
Between obtain the target offers monofile;
Feedback module, for the target offers monofile of acquisition to be fed back into the management server.
10. file server according to claim 9, it is characterised in that first acquisition module includes:
List block is searched, for searching the file directory list using the generation time of the target offers monofile, really
The file directory of the fixed generation time match with the target offers monofile;
Second acquisition module, for searching the file directory using the numbering of the target offers monofile, acquisition is found
The target offers monofile.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610711580.4A CN107656944A (en) | 2016-08-23 | 2016-08-23 | The storage method and file server of quotation monofile |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610711580.4A CN107656944A (en) | 2016-08-23 | 2016-08-23 | The storage method and file server of quotation monofile |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107656944A true CN107656944A (en) | 2018-02-02 |
Family
ID=61127538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610711580.4A Pending CN107656944A (en) | 2016-08-23 | 2016-08-23 | The storage method and file server of quotation monofile |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107656944A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413176A (en) * | 2018-10-19 | 2019-03-01 | 中国银行股份有限公司 | Report method for down loading and device |
CN109918471A (en) * | 2019-01-28 | 2019-06-21 | 平安科技(深圳)有限公司 | Archive method, apparatus, computer equipment and storage medium |
CN111694794A (en) * | 2019-03-11 | 2020-09-22 | 新疆丝路大道信息科技有限责任公司 | Method and system for storing vehicle rental platform files in split volumes and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060294164A1 (en) * | 2005-06-23 | 2006-12-28 | Emc Corporation | Methods and apparatus for managing the storage of content in a file system |
CN101459557A (en) * | 2008-11-29 | 2009-06-17 | 成都市华为赛门铁克科技有限公司 | Secure logging centralized storage method and device |
CN104021181A (en) * | 2014-06-10 | 2014-09-03 | 浪潮电子信息产业股份有限公司 | Rapid file comparing method under cluster storage system |
-
2016
- 2016-08-23 CN CN201610711580.4A patent/CN107656944A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060294164A1 (en) * | 2005-06-23 | 2006-12-28 | Emc Corporation | Methods and apparatus for managing the storage of content in a file system |
CN101137981A (en) * | 2005-06-23 | 2008-03-05 | 伊姆西公司 | Methods and apparatus for managing the storage of content in a file system |
CN101459557A (en) * | 2008-11-29 | 2009-06-17 | 成都市华为赛门铁克科技有限公司 | Secure logging centralized storage method and device |
CN104021181A (en) * | 2014-06-10 | 2014-09-03 | 浪潮电子信息产业股份有限公司 | Rapid file comparing method under cluster storage system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413176A (en) * | 2018-10-19 | 2019-03-01 | 中国银行股份有限公司 | Report method for down loading and device |
CN109918471A (en) * | 2019-01-28 | 2019-06-21 | 平安科技(深圳)有限公司 | Archive method, apparatus, computer equipment and storage medium |
CN111694794A (en) * | 2019-03-11 | 2020-09-22 | 新疆丝路大道信息科技有限责任公司 | Method and system for storing vehicle rental platform files in split volumes and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA3031884C (en) | System and method for generating an informational packet for the purpose of marketing a vehicle to prospective customers | |
US20200175630A1 (en) | Systems and methods for optimized design of a supply chain | |
CN101853437A (en) | The system and/or the method for end to end services workflow management, business event management and/or BAM | |
US11710187B2 (en) | System for automated description and categorization | |
US20020143862A1 (en) | Method and apparatus for transferring information between a source and a destination on a network | |
CN107656944A (en) | The storage method and file server of quotation monofile | |
US20160247102A1 (en) | Enterprise Product Management System and Method | |
CN110147686A (en) | A kind of storage method, system, device and the equipment of personal asset change record | |
EP3387788A1 (en) | Real time digital value nodes and networks | |
US8880960B1 (en) | Business continuity planning tool | |
CN108765057A (en) | Create method, terminal and the storage medium of order | |
CN104636963A (en) | Selection method and device of commodities to be shared | |
US20040172371A1 (en) | Automated negotiation | |
CN102426680B (en) | The logic account table of hash is asked in use | |
CN113434742A (en) | Account screening method and device, storage medium and electronic device | |
CN102609856A (en) | Providing package products | |
US8417594B2 (en) | Dimension-based financial reporting using multiple combinations of dimensions | |
CN111522840A (en) | Label configuration method, device, equipment and computer readable storage medium | |
JP6119101B2 (en) | Aggregation device, aggregation method, and aggregation system | |
CN102456182A (en) | Data integration method based on index technique | |
Clohessy | Blockchain in supply chain digital transformation | |
US20040143517A1 (en) | System and method for managing material distribution and returned materials | |
JP4256598B2 (en) | Vendor information management system | |
CN108376314A (en) | Goods and materials concocting method, device, server and storage medium | |
WO2019209414A1 (en) | Transportation exchange based on blockchain technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180202 |