CN110046974A - A kind of bidding for project file assessment system and method - Google Patents
A kind of bidding for project file assessment system and method Download PDFInfo
- Publication number
- CN110046974A CN110046974A CN201910311419.1A CN201910311419A CN110046974A CN 110046974 A CN110046974 A CN 110046974A CN 201910311419 A CN201910311419 A CN 201910311419A CN 110046974 A CN110046974 A CN 110046974A
- Authority
- CN
- China
- Prior art keywords
- xml file
- project
- inspection
- tender
- bidding
- 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
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/08—Auctions
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Artificial Intelligence (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of bidding for project file assessment system and methods, the system comprises establishment of item module, bidding document import modul, import modul of submitting a tender, automaticly inspect module, software and hardware information inspection module;Establishment of item module includes bill of quantities import unit, bid contrul valence import unit for creating project for bidding, bidding document import modul;Bid import modul is for creating bidder's information and importing offer by tender XML file;It automaticly inspects module to automaticly inspect for certain bidder to be compared with project for bidding, software and hardware information checks that module generates corresponding inspection policies list according to check item in real time, carries out the inspection of software and hardware information according to strategy.The present invention is checked oneself to inventory file evaluation content of submitting a tender, bid data are automatically analyzed according to assessment of bids rule, rapid comparison bid inventory and bid inventory data difference, in time find bid inventory there are the problem of and correct, reduction factor is according to abandoned tender risk caused by mistake.
Description
Technical field
The present invention relates to bidding fields, and in particular to a kind of bidding for project file assessment system and method.
Background technique
Bidding is the abbreviation invited and submitted bids.Bid and bid are a kind of commodity transaction behaviors, are two of process of exchange
Aspect.Bidding is a kind of international practice, is the product of commodity economy high development, is application technology, economic method and city
The effect of the economic competition mechanism in field, the mode that the one kind carried out in a organized way preferentially strikes a bargain.This mode be cargo, engineering and
In the purchase behavior of service, bid inviter passes through the buying and requirement announced in advance, attracts numerous bidders according to equal conditions
Fair competition is carried out, numerous bidders is carried out according to regulation program and organizational technology, economy and law etc. expert comprehensive
Evaluation is closed, the action process of the highest bidder of project is therefrom preferentially selected.Its essence is with lower price obtain optimal cargo,
Engineering and service.
The construction scale of projects of existing project for bidding is increasing, and the single data volume for valuating engineering also increases, number
Hundred million projects occur frequently, and ten million project has become the norm.Existing Tender System scheme is not distributed service framework, can not be carried out more
Service arrangement influences system operating efficiency simultaneously because data volume is too big, using single browser, can not open simultaneously multiple
The problems such as project, can not quick comparison bid inventory and bid inventory data difference, data be easy error, easily lead to abandoned tender wind
Danger.
Summary of the invention
It is an object of the invention to propose a kind of bidding for project file assessment system and method, to submit a tender, inventory file is commented
Checking oneself for content is examined, is the auditing system that bid data are provided for bidder and are checked oneself, bid number is automatically analyzed according to assessment of bids rule
According to the data difference of, rapid comparison bid inventory and bid inventory, find in time bid inventory there are the problem of and correct, reduce
Because of abandoned tender risk caused by error in data.
To reach above-mentioned purpose, the present invention adopts the following technical scheme: a kind of bidding for project file assessment system, including item
Mesh creation module, import modul of submitting a tender, automaticly inspects module, software and hardware information inspection module at bidding document import modul;
The establishment of item module includes project information for creating project for bidding, the project for bidding, the project letter
Breath include project name and one or more of information: project number, item area, works category, building construction type,
Bid deadline;
The bidding document import modul includes bill of quantities import unit, bid contrul valence import unit;
The bill of quantities import unit is for importing bill of quantities XML file;The bid contrul
Valence import unit is for importing bid contrul valence XML file;
The bid import modul is for creating bidder's information and importing offer by tender XML file;
The module that automaticly inspects is automaticly inspected for certain bidder to be compared with project for bidding, described to compare automatically
The check item of inspection includes one or more below:
Engineering structure compare, price bias analysis, quotation consistency check, arithmetic amendment, main branch's inventory inspection,
Major measure item inspection, the inspection of main material equipment, expense inspection, inventory inspection, quota checks, first takes to take for material and examine
It looks into;
The software and hardware information checks that module generates corresponding inspection policies list according to check item in real time, according to strategy into
Row software and hardware information inspection.
Further, in above system, the comparison is automaticly inspected to be carried out certainly using ornamenter's mode and/or strategy pattern
Dynamic compare checks;
Ornamenter's mode refer to do not change former class file and using inherit in the case where, dynamically extend an object
Function, be by create a package object, that is, decoration to wrap up true object;
The strategy pattern refers to the metastable policy name for having certain action content, refers to that object has some behavior,
But in different scenes, there is different realization algorithms in the behavior.
Further, in above system, the bill of quantities import unit for import bill of quantities XML file or
Zip compressed package of the bill of quantities XML file through compressed-bit;
The bid contrul valence import unit is for importing bid contrul valence XML file or bid contrul valence XML file warp
The zip compressed package of compressed-bit;
The bid import modul is used to import the zip pressure of offer by tender XML file or offer by tender XML file compressed-bit
Contracting packet.Correspondingly, the present invention also provides a kind of bidding for project files to assess inspection method, include the following steps:
Step S1 creates certain calling for tenders of project project and opens certain calling for tenders of project project created, or opens and created
Certain calling for tenders of project project;
Step S2, imports bidding document in certain calling for tenders of project project, and the bidding document includes bill of quantities XML text
Part, bid contrul valence list XML file;
Step S3 creates bidder in certain calling for tenders of project project, and imports offer by tender XML file;
Step S4 checks software and hardware information, executes the inspection of software and hardware information;
Step S5 selects certain bidder to execute key comparison and automaticly inspects;Step S6, checks inspection result;The comparison
The check item automaticly inspected includes one or more below: engineering structure compares, price bias analysis, offers
Consistency check, arithmetic amendment, main branch's inventory inspection, major measure item inspection, the inspection of main material equipment, expense
Inspection, inventory inspection, quota checks, first takes to take for material and check.
Further, in the above method, the bidding document that imports in certain calling for tenders of project project includes performance of work amount
Inventory XML file imports, executes the importing of bid contrul valence list XML file;
The performance of work amount inventory XML file imports are as follows: by bill of quantities XML file or bill of quantities XML text
The ZIP compressed package of part is uploaded to server, and server is put into bill of quantities XML file in parsing queue again, then by taking
The multithreading of business carries out the parsing of bill of quantities XML file, and the parsing data of bill of quantities XML file are saved in data
Library;
The execution bid contrul valence list XML file imports are as follows: by bid contrul valence XML file or bid contrul valence XML
The ZIP compressed package of file is uploaded onto the server, server again bid contrul valence XML file be put into parsing queue in, then by
The multithreading of service carries out the parsing of bid contrul valence list XML file, and the parsing data for controlling valence list XML file are saved in data
Library;
The importing offer by tender XML file step are as follows: by the ZIP of offer by tender XML file or offer by tender XML file
Compressed package is uploaded onto the server, and server is put into offer by tender XML file in parsing queue again, then the multithreading by servicing
The parsing of offer by tender XML file is carried out, the parsing data for importing offer by tender XML file are saved in database.
Further, in the above method, bill of quantities XML file is parsed using Xstream;Using
Xstream parses bid contrul valence list XML file;Offer by tender XML file is parsed using Xstream;When
After bill of quantities XML file parses, Spring JDBC is called to save the solution of bill of quantities XML file
Analyse data to data library;
After the parsing of bid contrul valence list XML file, Spring JDBC is called to save bid contrul valence XML file
Parsing data to data library;
After the parsing of offer by tender XML file, Spring JDBC is called to save the parsing of offer by tender XML file
File is to database;
Multithreading is managed using java thread pond, creates a fixed length thread using new Fixed Thread Pool
Pond, controls thread maximum number of concurrent, and the thread exceeded can wait in the queue.
Further, it in the above method, is managed using java thread pond in multithreading and is also added included in multithreading
Block queue Blocking Queue.
Further, the software and hardware information inspection is the check item selected according to the page, and on backstage, real-time perfoming is initial
Change and check list, then form a combination of current strategies by ornamenter, is finally combined according to this and execute software and hardware information
It checks.
Further, it is first to configure service fee norm in database, according to each that the comparison of one key of the execution, which automaticly inspects,
The service fee norm of project takes out corresponding strategy, carries out initialization and checks list, then forms the one of current strategies by ornamenter
A combination finally executes key comparison according to the combination of current strategies and automaticly inspects.
Further, in the above method, execution one key comparison is automaticly inspected specifically comprising as follows: the first step, first needs
The comparison used checks data, all comes out from data base querying, and a key will be carried out by, which being encapsulated into, compares the data pair automaticly inspected
As the inside;
Second step, the key comparison for then calling above-mentioned design pattern packaged automaticly inspect processor System Auto
Inspect Processor compares the data object automaticly inspected using the key that carry out packaged in the first step, is examined
It looks into;
Inspection result is carried out database script encapsulation by third step, then calls Spring JDBC, and disposable batch is protected
It is stored in database.
Compared with prior art, bidding for project file assessment system and method through the invention, can achieve has as follows
Beneficial effect:
(1) checking oneself to inventory file evaluation content of submitting a tender, the comparison of one key of bidding document mass data automaticly inspect,
Bid data are automatically analyzed according to assessment of bids rule, the data difference of rapid comparison bid inventory and bid inventory, discovery is thrown in time
SD list there are the problem of and correct, reduction factor is according to abandoned tender risk caused by mistake;
(2) comparison, which is automaticly inspected, carries out automatic comparison inspection using ornamenter's mode and/or strategy pattern;
(3) solution under high concurrent, retention property and efficiency;It is separated with meter reading with table is write, inspection result is deposited
To in new table, this table is only responsible for writing data, since the data volume of inspection result will be far smaller than the data after XML parsing
Amount, so substantially increasing concurrency performance and efficiency, also reduces the probability for causing deadlock;
(4) one keys are checked, check that software and hardware information, inspection result are that disposable data are shown on the page, do not store
Database improves the efficiency and performance of inspection;
(5) seamless interfacing more ground transaction platform assists bid evaluation system.
Detailed description of the invention
Attached drawing described herein is used to provide to further understand invention, constitutes a part of the invention, the present invention
Illustrative embodiments and their description be used to explain the present invention, do not constitute improper limitations of the present invention, it should be apparent that, under
Attached drawing in the description of face is some embodiments of the present invention, for those of ordinary skill in the art, is not paying creativeness
Under the premise of labour, it is also possible to obtain other drawings based on these drawings.In the accompanying drawings:
Fig. 1 is that the bidding for project file of the embodiment of the present invention 2 assesses inspection method flow chart.
Fig. 2 is bidder's Pre-Evaluation overall traffic flow chart;
Fig. 3 is evaluation preparation service flow chart;
Fig. 4 is to automaticly inspect offer by tender business process map;
Fig. 5 is to check inspection result business process map.
Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie below
Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used
To explain the present invention, it is not intended to limit the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Embodiment 1
A kind of bidding for project file assessment system the system comprises establishment of item module, bidding document import modul, is thrown
Mark import modul automaticly inspects module, software and hardware information inspection module;
The establishment of item module includes project information for creating project for bidding, the project for bidding, the project letter
Breath include project name and one or more of information: project number, item area, works category, building construction type,
Bid deadline;The bidding document import modul includes bill of quantities import unit, bid contrul valence import unit;
The bill of quantities import unit is for importing bill of quantities XML file;The bid contrul valence imports single
Member is for importing bid contrul valence XML file;The bid import modul is for creating bidder's information and importing report of submitting a tender
Valence XML file;The module that automaticly inspects is automaticly inspected for certain bidder to be compared with project for bidding, described to compare certainly
The dynamic check item checked includes one or more below:
Engineering structure compare, price bias analysis, quotation consistency check, arithmetic amendment, main branch's inventory inspection,
Major measure item inspection, the inspection of main material equipment, expense inspection, inventory inspection, quota checks, first takes to take for material and examine
It looks into;
The software and hardware information checks that module generates corresponding inspection policies list according to check item in real time, according to strategy into
Row software and hardware information inspection.
Further, the comparison, which is automaticly inspected, carries out automatic comparison inspection using ornamenter's mode and/or strategy pattern;
Institute
State ornamenter's mode refer to do not change former class file and using inheriting in the case where, dynamically extend object
Function is by creating a package object, that is, decoration to wrap up true object.
The characteristics of ornamenter's mode, is as follows:
A. decorative object and real object have identical interface, and such client object can be with identical with real object
Mode and decorative object interaction;
B. decorative object includes the reference of a real object;
C. decorative object receives all requests from client, these requests are transmitted to true object by it;
D. decorative object can increase some additional functions before forwarding these requests or later.This assures
When operation, the structure without modifying given object can increase additional function in outside.In object oriented designing, lead to
It is often the Function Extension realized by inheriting to given class.
The advantages of comparison is automaticly inspected using ornamenter's mode is as follows:
A. the purpose of ornamenter's mode and inheritance is all the function of object to be extended, but ornamenter can provide ratio
Inherit more flexibilities;
B. by using the permutation and combination of different specific decorative kind and these decorative kinds, designer can be createed very
The combination of more difference behaviors.The strategy pattern refers to the metastable policy name for having certain action content, refers to that object has
Some behavior, but in different scenes, there is different realization algorithms in the behavior.
The interchangeable replacement of algorithm that strategy pattern defines one group of algorithm, encapsulates each this race of algorithm, it is described to compare certainly
Dynamic the advantages of checking using strategy pattern, is as follows:
A. strategy pattern provides the method for managing relevant algorithm race.The hierarchical organization of policy class defines an algorithm
Or behavior race.It is appropriate to use succession be public Code transformations to parent the inside, to avoid duplicate code.
B. strategy pattern provides the method that can replace inheritance.Succession can handle many algorithms or behavior.Such as
Fruit is not to use strategy pattern, then may have some subclasses using algorithm or the environmental classes of behavior, each subclass is provided
One different algorithm or behavior.But so the user of algorithm or behavior is just and algorithm or behavior itself are mixed in one
It rises.Determine using any algorithm or take any behavior logic just together with algorithm or the logical hybrid of behavior, from
And independent again it can not develop.It inherits so that dynamic changes algorithm or behavior and becomes impossible.
It c. can be to avoid using multiple condition jump statement using strategy pattern.Multiple jump statement is not convenient for safeguarding, its handle
Take any algorithm or take any behavior logical AND algorithm or behavior logical hybrid together, be completely listed in one
Inside multiple jump statement, than using the method for succession also original and falling behind.
Further, the bill of quantities import unit is for importing bill of quantities XML file or bill of quantities
Zip compressed package of the XML file through compressed-bit.In the present invention is implemented, it is preferable that bill of quantities XML file supports XML compression
Position zip is imported again, and uploading speed and analyzing efficiency can be improved, and the bill of quantities import unit is used for bill of quantities
The zip compressed package of XML file.
Further, the bid contrul valence import unit is for importing bid contrul valence XML file or bid contrul valence
Zip compressed package of the XML file through compressed-bit.In the present invention is implemented, it is preferable that bid contrul valence XML file supports XML compression
Position zip is imported again, improves uploading speed and analyzing efficiency, the bid contrul valence import unit is for importing bid contrul valence
The zip compressed package of XML file.
Further, the bid import modul is for importing offer by tender XML file or the compression of offer by tender XML file
The zip compressed package of position.In the present invention is implemented, it is preferable that offer by tender XML file supports XML compressed-bit zip to import again, mentions
High uploading speed and analyzing efficiency, the bid import modul are used to import the zip compressed package of offer by tender XML file.
Embodiment 2
The embodiment of the invention also provides a kind of bidding for project files to assess inspection method, as shown in Fig. 1, including it is as follows
Step:
Step S1 creates certain calling for tenders of project project and opens certain calling for tenders of project project created, or opens and created
Certain calling for tenders of project project;
Step S2, imports bidding document in certain calling for tenders of project project, and the bidding document includes bill of quantities XML text
Part, bid contrul valence list XML file;
Step S3 creates bidder in certain calling for tenders of project project, and imports offer by tender XML file;
Step S4 checks software and hardware information, executes the inspection of software and hardware information;
Step S5 selects certain bidder to execute key comparison and automaticly inspects;Step S6,
Check inspection result;The check item of the software and hardware information inspection includes below
It is one or more kinds of:
The inspection of CPU sequence number, hard disk serial number inspection, MAC Address of Network Card inspection, the inspection of encryption lock sequence number, hard disk sequence
Row number inspection, the inspection of memory sequence number, IP address inspection;
The check item of the software and hardware information inspection can be freely combined with several check items, and a variety of check items are two kinds of inspections
Look into item or two or more check items.For example, the software and hardware information inspection is CPU sequence number+hard disk serial number inspection,
CPU sequence number+MAC Address of Network Card inspection, MAC Address of Network Card+CPU sequence number+hard disk serial number inspection, MAC Address of Network Card inspection
It looks into.
The embodiment of the present invention according to policy document premise to provide: the inspection of encryption lock sequence number, MAC Address of Network Card+CPU sequence
Row number+hard disk serial number inspection allows bidder to select, other check items are hidden.Software and hardware information is exactly to submit a tender in editing
When Files XML, the software and hardware information that can all record a current computer is saved every time.
Wherein, each check item is all to check more parts of tender documents XML either with or without there are unanimous circumstances.Such as
CPU+ MAC Address of Network Card inspection: exactly checking in more parts of tender documents XML, either with or without there is CPU and MAC Address of Network Card simultaneously
The same record.
The check item automaticly inspected that compares includes one or more below: engineering structure comparison, price bias
Analysis, quotation consistency check, arithmetic amendment, main branch's inventory inspection, major measure item inspection, main material equipment
Inspection, expense inspection, inventory inspection, quota checks, first takes to take for material and check.
Wherein: the engineering structure compares as comparison bid contrul valence engineering structure, all bids for entering evaluation of inspection
Whether the engineering structure of the offer by tender of people is complete, if it is inconsistent that there are lacunas.The price bias analysis is all to check
Into the offer by tender (project cost) of the bidder of evaluation, if be 0 or higher than bid contrul valence (project cost).It is described
Quotation consistency check be check it is all enter evaluate bidders offers by tender in each level cost whether with its subitem
Quotation Amount in Total it is consistent.The arithmetic, which is modified in the offer by tender for checking all bidders for entering evaluation, to be owned
Whether the monovalent * project amount of inventory is equal to conjunction valence.Main branch's inventory inspection is the main branch for comparing bid contrul valence
Inventory checks the unit price of main branch's inventory in the offer by tender of all bidders for entering evaluation, if transfinite.
The major measure item inspection is the major measure inventory for comparing bid contrul valence, checks all entrance evaluations
The conjunction valence of major measure inventory in the offer by tender of bidder, if transfinite.
The main material equipment inspection is to compare the main material equipment of bid contrul valence, checks all entrance evaluations
The unit price of main material equipment in the offer by tender of bidder, if transfinite.
The expense inspection is that the safety construction in the offer by tender for check all bidders for entering evaluation takes, temporarily
The column amount of money, specialized engineering provisional estimate, first are for fee of material, if transfinite.
The inventory inspection is to compare the inventory specific item of bid contrul valence, checks the bid of all bidders for entering evaluation
Whether each attribute of inventory in quotation is consistent with bid contrul valence.
The quota inspection is to compare the quota specific item of bid contrul valence, checks the bid of all bidders for entering evaluation
Whether each attribute of quota in quotation is consistent with bid contrul valence.
Expense radix is taken in the offer by tender that the first takes expense to check for material to check all bidders for entering evaluation
It is accrued to take whether first has meter to take first for fee of material for the correlative charges item of fee of material.
Further, in step s 2, the bidding document that imports in certain calling for tenders of project project includes performance of work amount
Inventory XML file imports, executes the importing of bid contrul valence list XML file;
The performance of work amount inventory XML file imports are as follows: by bill of quantities XML file or bill of quantities XML text
The ZIP compressed package of part is uploaded to server, and server is put into bill of quantities XML file in parsing queue again, then by taking
The multithreading of business carries out the parsing of bill of quantities XML file, and the parsing data of bill of quantities XML file are saved in data
Library;
The execution bid contrul valence list XML file imports are as follows: by bid contrul valence XML file or bid contrul valence XML
The ZIP compressed package of file is uploaded onto the server, server again bid contrul valence XML file be put into parsing queue in, then by
The multithreading of service carries out the parsing of bid contrul valence list XML file, and the parsing data for controlling valence list XML file are saved in data
Library;
The importing offer by tender XML file step are as follows: by the ZIP of offer by tender XML file or offer by tender XML file
Compressed package is uploaded onto the server, and server is put into offer by tender XML file in parsing queue again, then the multithreading by servicing
The parsing of offer by tender XML file is carried out, the parsing data for importing offer by tender XML file are saved in database.
Preferably, the method for the present invention parses XML file using Xstream.The present invention using Xstream come into
Row executes XML file parsing, and Xstream significantly promotes calculating speed using newest figure card technique, and speed even can
To compare favourably with MPI distributed computing.In addition, Xstream is a kind of OXMapping technology, it is for handling XML file sequence
The frame of change is serialized by javaBean, or when by XML file unserializing, does not need other assisted class and mapping text
Part, so that XML serialization is no longer cumbersome.
XStream is explored using structure of the Java reflection mechanism to the object tree to be serialized at runtime,
It does not need to modify object.XStream can serialize inside field, including private private and final field, and
And support non-public class and inner classes.
Under default condition, XStream does not need configuration mapping relations, and object and field will be mapped as XML element of the same name.
But when the masurium difference in object and field name and XML, XStream supports specified alias.XStream is supported in method
The mode of mode or the Java mark of calling specifies alias.
XStream uses the type transducer of system default when carrying out data type conversion.Meanwhile also supporting user
Customized type transducer.
Specifically, being parsed using Xstream to bill of quantities XML file;When bill of quantities XML file solution
After analysis, Spring JDBC is called to save the parsing data to data library of bill of quantities XML file.
Bid contrul valence list XML file is parsed using Xstream;It is tied when bid contrul valence list XML file parses
Shu Hou calls Spring JDBC to save the parsing data to data library of bid contrul valence XML file.
Offer by tender XML file is parsed using Xstream;After the parsing of offer by tender XML file, call
Spring JDBC saves the resolution file of offer by tender XML file to database.
The present invention carries out data storage using Spring JDBC in storage mass data.
Spring JDBC is the Persistence Layer Framework that spring official provides, and is abstracted and has been encapsulated to JDBC, disappeared
In addition to the code of the JDBC repeatability of repeated and redundant, operating database is made to become simpler.
Spring JDBC itself is not an ORM frame, compared with hibernate, its not no so cumbersome,
The update for carrying out big data quantity saves in aspect, substantially increases performance and execution efficiency.
Further, in the method for the present invention, multithreading is managed using java thread pond, uses new Fixed Thread
Pool creates a fixed length thread pool, controls thread maximum number of concurrent, and the thread exceeded can wait in the queue.Further,
It adopts
It is managed also to be included in multithreading in multithreading with java thread pond and obstruction queue Blocking Queue is added.
Block queue Blocking Queue, is a queue first;Under multi-thread environment, so-called obstruction refers to
Thread can be hung up in some cases, once condition meets, the thread being suspended can be waken up automatically again.Each programmer is necessary
These details oneself are controlled, efficiency and thread-safe are especially also taken into account.Obstruction queue is usually used in the field of producers and consumers
Scape, producer thread can be stored to production result in obstruction queue, and consumer thread takes out intermediate result and in the future
Modify them.Block queue meeting autobalance load to consume if producer thread collection runs slower than consumer thread's collection
Person's thread collection will block when waiting result;If producer thread collection runs fastly, it will wait consumer thread
Collection is caught up with.
The present invention is added obstruction queue Blocking Queue, Blocking Queue and has well solved in multithreading,
How highly effective and safe " transmission " data the problem of, programmer without be concerned about when need block or wake up thread.Pass through
These efficient and thread-safe queue classes, bring great convenience for the multithread programs of fast construction high quality.
The present invention uses member Array Blocking Queue, the Array Blocking of Blocking Queue
Queue is one and blocks queue with the bounded that array is realized, this queue carries out element according to the principle of first in first out (FIFO)
Sequence.Support fair lock and non-fair lock.Advantage is the working efficiency greatly improved, reduces creation and time of destroying threads
Number, each worker thread can be recycled, and multiple tasks can be performed.Line can be adjusted according to the ability to bear of system
The number of Cheng Chizhong active line thread prevents from excessively increasing server load because consuming excessive memory.
Further, the software and hardware information inspection is the check item selected according to the page, and on backstage, real-time perfoming is initial
Change and check list, then form a combination of current strategies by ornamenter, is finally combined according to this and execute software and hardware information
It checks.
Further, it is first to configure service fee norm in database, according to each that the comparison of one key of the execution, which automaticly inspects,
The service fee norm of project takes out corresponding strategy, carries out initialization and checks list, then forms the one of current strategies by ornamenter
A combination finally executes key comparison according to the combination of current strategies and automaticly inspects.
Further, the comparison of one key of execution, which automaticly inspects, follows primary access evidence, first use data, a storing data
Principle, specifically comprising as follows:
The first step, the comparison that first needs are used check data, all come out from data base querying, one will be carried out by being encapsulated into
Key compares inside the data object automaticly inspected;
Second step, the key comparison for then calling above-mentioned design pattern packaged automaticly inspect processor System Auto
Inspect Processor compares the data object automaticly inspected using the key that carry out packaged in the first step, is examined
It looks into;
Inspection result is carried out database script encapsulation by third step, then calls Spring JDBC, and disposable batch is protected
It is stored in database.
Execute a key compare automaticly inspect follow primary access evidence, first use data, storing data principle it is excellent
Point:
A. avoid side using data, data, Bian Baocun data are inquired in side, in this way can be significantly if three are carrying out simultaneously
It influences performance and reduces to check speed;
B. a possibility that causing deadlock is substantially reduced;
C. code logic orderliness is apparent from understandable;
D. it is easy to later maintenance work;
Further, the data that XML has been parsed are separated with the data of inspection result.The data parsed due to XML
It measures too big, if updating inspection result to causing to be updated in former table, greatly reduces renewal speed, and cause deadlock
Probability geometry rises.So being separated with meter reading with table is write, inspection result is stored in new table, this table is only responsible for writing number
According to since the data volume of inspection result will be far smaller than the data volume after XML parsing, so substantially increasing concurrency performance and effect
Rate also reduces the probability for causing deadlock.
In the method for the present invention, the inspection of software and hardware information is executed, is the check item selected according to the page, in backstage real-time perfoming
Initialization checks list, then a combination of current strategies is formed by ornamenter, is finally combined according to this and executes software and hardware
Information inspection.Storing data, inspection result are not that disposable data are shown on the page to the inspection result of software and hardware information inspection,
Database is not stored, the efficiency and performance of inspection are improved.
In the present invention, it is preferred to, the database is the relationship type cloud database of compatible MySQL, and the database is adopted
With the framework of separation between storage and computation.Preferably, the embodiment of the present invention, the database use Ali's cloud POLARDB.
POLARDB is the next-generation relationship type cloud database of Ali Yun Ziyan, and 100% is compatible with MySQL, and memory capacity reaches as high as
100TB, performance highest are promoted to 6 times of MySQL, and single library at most extends to 16 nodes, are suitable for the diversified number of enterprise
According to library application scenarios.POLARDB uses the framework of separation between storage and computation, the shared a data of all calculate nodes, provides point
Configuration promotion and demotion, fault recovery, global data consistency and the free data backup disaster tolerance service of second grade of clock grade.
POLARDB had not only merged reliable and stable business database, high-performance, expansible feature, but also had open source cloud database simple
Open, self iteration advantage, and cost only has the 1/10 of commercial data base.The purpose of the present invention is for unit in charge of construction, seek advice from
The tenderer that unit etc. need to participate in bidding provides the censorware system that bid online data mode is checked oneself, can be in system
In a key is carried out to priced bill of quantities XML electronic document check, check the function of software and hardware information, and can basis most
The data difference of new assessment of bids rule rapid comparison bid inventory and bid inventory and bid contrul valence, reduction factor are led according to mistake
The abandoned tender risk of cause checks that conclusion supports export excel format, provides safe and effective guarantee for Public Bidding Work.
The operation flow being related to below to the method for the present invention application is described further.Bidder's Pre-Evaluation overall traffic
Process is as shown in Fig. 2, includes the following steps:
1) grassroot project: bidder newly creates certain calling for tenders of project project according to demand;
2) evaluation prepares: being detailed in evaluation preparation service process, as shown in Fig. 3, including (project amount is clear for importing bidding document
Single XML file, bid contrul valence list XML file), offer by tender file (offer by tender XML file);
3) evaluation checks: hardware information inspection and key comparison automaticly inspect;Bid is automaticly inspected with one key of bidder
Evaluation check process step is as shown in Fig. 4, including such as is further illustrated to the application of the method for the present invention for quote service
Under: bidder marks the price according to the quasi- bid project selection bid to be checked, according to bidder's selection, successively executes following items
Check: engineering structure compares step, price bias analytical procedure, main material equipment and compares step, quotation consistency check step
Suddenly, arithmetic amendment step, main branch's inventory checking step, major measure item inspection step, capital equipment material inspection
Step, expense checking step, inventory checking step;After above each item inspection, further determine whether as some ground
Area's (for example whether being Xiamen area), if so, entering, quota is checked, first judges selected report of submitting a tender again after taking expense to check for material
Whether valence all checks out, and is otherwise directly entered the step of whether selected offer by tender of judgement all checks out;When selected offer by tender
It all checks out, then terminates, when selected offer by tender does not check out, the engineering structure returned in item inspection compares checking step.
4) it checks review result, is detailed in and checks inspection result operation flow step.Check inspection result operation flow step
As shown in Fig. 5, specifically comprising as follows: first looking at each module check as a result, each module check result includes as follows: engineering knot
Structure comparison result, price bias analysis result, main material equipment comparison result, quotation consistency check result, arithmetic are repaired
Positive result, main branch's inventory inspection result, major measure item inspection result, capital equipment material inspection result, expense inspection
Come to an end fruit, inventory inspection result;After above each item inspection result is checked, further determine whether as some area
(for example whether be Xiamen area), if so, otherwise being tied into checking that quota inspection result, first take expense inspection result for material
Beam.The above embodiments are only used to illustrate the technical solution of the present invention., it is to be understood that the present invention is not limited to above-mentioned implementation
Example, enlightenment through the invention, the modification or right that those skilled in the art combine known or the prior art, knowledge to be carried out
Some or all of the technical features, which are equivalently replaced, also should be regarded as within the scope of the present invention.
Claims (10)
1. a kind of bidding for project file assessment system, which is characterized in that
The system comprises establishment of item module, bidding document import modul, import modul of submitting a tender, automaticly inspect module, soft or hard
Part information checks module;
The establishment of item module includes project information, the project information packet for creating project for bidding, the project for bidding
Containing project name and one or more of information: project number, works category, building construction type, is submitted a tender at item area
Deadline;
The bidding document import modul includes bill of quantities import unit, bid contrul valence import unit;The project amount
Inventory import unit is for importing bill of quantities XML file;The bid contrul valence import unit is for importing bid contrul
Valence XML file;The bid import modul is for creating bidder's information and importing offer by tender XML file;It is described automatic
Check that module is automaticly inspected for certain bidder to be compared with project for bidding, the check item automaticly inspected that compares includes
One or more below:
Engineering structure compare, price bias analysis, quotation consistency check, arithmetic amendment, main branch's inventory inspection, mainly
Measure item inspection, the inspection of main material equipment, expense inspection, inventory inspection, quota checks, first takes to take for material and check;
The software and hardware information checks that module generates corresponding inspection policies list according to check item in real time, is carried out according to strategy soft
Hardware information inspection.
2. bidding for project file assessment system according to claim 1, which is characterized in that the comparison automaticly inspects use
Ornamenter's mode and/or strategy pattern carry out automatic comparison inspection;Ornamenter's mode, which refers to, not to be changed former class file and makes
In the case where with succession, the function of an object is dynamically extended, is by creating a package object, that is, decoration to wrap
Wrap up in true object;
The strategy pattern refers to that object has some behavior, but in different scenes, there is different realization algorithms in the behavior.
3. bidding for project file assessment system according to claim 1, which is characterized in that the bill of quantities imports single
Member is for importing the zip compressed package of bill of quantities XML file or bill of quantities XML file through compressed-bit;
The bid contrul valence import unit is for importing bid contrul valence XML file or bid contrul valence XML file through compressing
The zip compressed package of position;
The bid import modul is used to import the zip compression of offer by tender XML file or offer by tender XML file compressed-bit
Packet.
4. a kind of bidding for project file assesses inspection method, which comprises the steps of:
Step S1 creates certain calling for tenders of project project and opens certain calling for tenders of project project created, or opens certain created
Calling for tenders of project project;
Step S2, imports bidding document in certain calling for tenders of project project, the bidding document include bill of quantities XML file,
Bid contrul valence list XML file;
Step S3 creates bidder in certain calling for tenders of project project, and imports offer by tender XML file;
Step S4 checks software and hardware information, executes the inspection of software and hardware information;
Step S5 selects certain bidder to execute key comparison and automaticly inspects;Step S6, checks inspection result;It is described to compare automatically
The check item of inspection include one or more below: engineering structure compare, price bias analysis, quotation consistency check,
Arithmetic amendment, main branch's inventory inspection, major measure item inspection, the inspection of main material equipment, expense inspection, inventory inspection
It looks into, quota checks, first takes to take for material and check.
5. bidding for project file according to claim 4 assesses inspection method, which is characterized in that described in certain calling for tenders of project
It includes that performance of work amount inventory XML file imports, executes the importing of bid contrul valence list XML file that bidding document is imported in project;
The performance of work amount inventory XML file imports are as follows: by bill of quantities XML file or bill of quantities XML file
ZIP compressed package is uploaded to server, server is put into bill of quantities XML file in parsing queue again, then by servicing
Multithreading carries out the parsing of bill of quantities XML file, and the parsing data of bill of quantities XML file are saved in database;
The execution bid contrul valence list XML file imports are as follows: by bid contrul valence XML file or bid contrul valence XML file
ZIP compressed package upload onto the server, server again bid contrul valence XML file be put into parsing queue in, then by servicing
Multithreading carry out bid contrul valence list XML file parsing, by control valence list XML file parsing data be saved in database;
The importing offer by tender XML file step are as follows: compress the ZIP of offer by tender XML file or offer by tender XML file
Packet is uploaded onto the server, and server is put into offer by tender XML file in parsing queue again, is then carried out by the multithreading serviced
The parsing data for importing offer by tender XML file are saved in database by the parsing of offer by tender XML file.
6. bidding for project file according to claim 5 assesses inspection method, which is characterized in that
Bill of quantities XML file is parsed using Xstream;After the parsing of bill of quantities XML file, call
The parsing data to data library of Spring JDBC preservation bill of quantities XML file.
Bid contrul valence list XML file is parsed using Xstream;After the parsing of bid contrul valence list XML file,
Spring JDBC is called to save the parsing data to data library of bid contrul valence XML file.
Offer by tender XML file is parsed using Xstream;After the parsing of offer by tender XML file, call
Spring JDBC saves the resolution file of offer by tender XML file to database;
Multithreading is managed using java thread pond, creates a fixed length thread pool, control using new Fixed Thread Pool
Thread maximum number of concurrent processed, the thread exceeded can wait in the queue.
7. bidding for project file according to claim 6 assesses inspection method, which is characterized in that
It manages also to be included in multithreading in multithreading using java thread pond and obstruction queue Blocking Queue is added.
8. bidding for project file according to claim 4 assesses inspection method, which is characterized in that the software and hardware information inspection
Looking into is the check item selected according to the page, and on backstage, real-time perfoming initialization checks list, then forms current plan by ornamenter
A combination slightly, finally combines according to this and executes the inspection of software and hardware information.
9. bidding for project file according to claim 4 assesses inspection method, which is characterized in that one key of the execution compares
Automaticly inspecting is first to configure service fee norm to take out corresponding strategy according to the service fee norm of each project in database, is carried out
Initialization checks list, then a combination of current strategies is formed by ornamenter, is finally executed according to the combination of current strategies
The comparison of one key automaticly inspects.
10. bidding for project file according to claim 9 assesses inspection method, which is characterized in that execute a key and compare certainly
Dynamic to check specifically comprising as follows: the first step, the comparison that first needs are used check data, all come out from data base querying, seal
A key will be carried out by, which being attached to, compares inside the data object automaticly inspected;
Then second step calls a packaged key to compare and automaticly inspects processor System Auto Inspect
Processor compares the data object automaticly inspected using the key that carry out packaged in the first step, is checked;
Inspection result is carried out database script encapsulation by third step, is then called Spring JDBC, is disposably saved in batches
In database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910311419.1A CN110046974A (en) | 2019-04-18 | 2019-04-18 | A kind of bidding for project file assessment system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910311419.1A CN110046974A (en) | 2019-04-18 | 2019-04-18 | A kind of bidding for project file assessment system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110046974A true CN110046974A (en) | 2019-07-23 |
Family
ID=67277708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910311419.1A Pending CN110046974A (en) | 2019-04-18 | 2019-04-18 | A kind of bidding for project file assessment system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110046974A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110516037A (en) * | 2019-07-29 | 2019-11-29 | 广东鼎义互联科技股份有限公司 | A kind of bidding document analysis system in government affairs field |
CN111324463A (en) * | 2020-02-21 | 2020-06-23 | 广州易达建信科技开发有限公司 | Engineering file label clearing method, system, device and storage medium |
CN111353285A (en) * | 2020-03-03 | 2020-06-30 | 今天誉讯(北京)科技有限公司 | Intelligent clearing data configuration method and system |
CN112464032A (en) * | 2019-12-24 | 2021-03-09 | 上海汇招信息技术有限公司 | Bidding clearing method |
CN113034251A (en) * | 2021-04-23 | 2021-06-25 | 贵州兴泰科技有限公司 | Online bidding management system |
CN117635283A (en) * | 2023-12-07 | 2024-03-01 | 北京鸿鹄元数科技有限公司 | Method and device for making, checking and pre-evaluating bidding scheme based on text recognition |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102682340A (en) * | 2011-03-18 | 2012-09-19 | 林光柱 | Assessment method for tender offer information rationality |
CN105389346A (en) * | 2015-10-22 | 2016-03-09 | 江苏国泰新点软件有限公司 | Bidding clearing method and apparatus in electronic bidding evaluation system |
CN107958331A (en) * | 2017-11-24 | 2018-04-24 | 国网内蒙古东部电力有限公司 | A kind of electricity power engineering of GPU multithreadings marks clearly method automatically |
-
2019
- 2019-04-18 CN CN201910311419.1A patent/CN110046974A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102682340A (en) * | 2011-03-18 | 2012-09-19 | 林光柱 | Assessment method for tender offer information rationality |
CN105389346A (en) * | 2015-10-22 | 2016-03-09 | 江苏国泰新点软件有限公司 | Bidding clearing method and apparatus in electronic bidding evaluation system |
CN107958331A (en) * | 2017-11-24 | 2018-04-24 | 国网内蒙古东部电力有限公司 | A kind of electricity power engineering of GPU multithreadings marks clearly method automatically |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110516037A (en) * | 2019-07-29 | 2019-11-29 | 广东鼎义互联科技股份有限公司 | A kind of bidding document analysis system in government affairs field |
CN112464032A (en) * | 2019-12-24 | 2021-03-09 | 上海汇招信息技术有限公司 | Bidding clearing method |
CN111324463A (en) * | 2020-02-21 | 2020-06-23 | 广州易达建信科技开发有限公司 | Engineering file label clearing method, system, device and storage medium |
CN111353285A (en) * | 2020-03-03 | 2020-06-30 | 今天誉讯(北京)科技有限公司 | Intelligent clearing data configuration method and system |
CN113034251A (en) * | 2021-04-23 | 2021-06-25 | 贵州兴泰科技有限公司 | Online bidding management system |
CN117635283A (en) * | 2023-12-07 | 2024-03-01 | 北京鸿鹄元数科技有限公司 | Method and device for making, checking and pre-evaluating bidding scheme based on text recognition |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110046974A (en) | A kind of bidding for project file assessment system and method | |
AU2022200877B2 (en) | System and method for creating and executing data-driven legal contracts | |
US20210049190A1 (en) | System and method for aggregating values through risk dimension hierarchies in a multidimensional database environment | |
US8340995B2 (en) | Method and system of using artifacts to identify elements of a component business model | |
Sivaramakrishnan et al. | Declarative programming over eventually consistent data stores | |
US10242406B2 (en) | Analytics integration workbench within a comprehensive framework for composing and executing analytics applications in business level languages | |
US8751284B2 (en) | Systems and methods for a real-time workflow platform using Petri net model mappings | |
US20030172017A1 (en) | High performance multi-dimensional risk engines for enterprise wide market risk management | |
Engels et al. | Process modeling using UML | |
US8924974B1 (en) | System for error checking of process definitions for batch processes | |
US10127299B2 (en) | Analytics information directories within a comprehensive framework for composing and executing analytics applications in business level languages | |
US20110066457A1 (en) | Analytics integration server within a comprehensive framework for composing and executing analytics applications in business level languages | |
US20090144186A1 (en) | Financial Product Design and Implementation | |
US20140006216A1 (en) | Distributed order orchestration system that transforms sales products to fulfillment products | |
US20210117889A1 (en) | Co-operative resource pooling system | |
CN112527774A (en) | Data center building method and system and storage medium | |
CN111176635A (en) | Modularized quantization system, execution method thereof and electronic equipment | |
CN109377157A (en) | Compensation data processing method and processing device, storage medium, electronic equipment | |
US20100161676A1 (en) | Lifecycle management and consistency checking of object models using application platform tools | |
US7318200B2 (en) | Master data framework | |
CN113721898A (en) | Machine learning model deployment method, system, computer device and storage medium | |
US20170212951A1 (en) | Calculated relationships in document flow | |
CN111273893A (en) | Financial data processing method and device, computer equipment and storage medium | |
Diev | Structuring complex requirements | |
US11488127B2 (en) | Systems and methods for assigning attribution weights to nodes |
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 |
Application publication date: 20190723 |
|
RJ01 | Rejection of invention patent application after publication |