CN104537047A - Garment basic sample plate retrieval system based on Lucene - Google Patents

Garment basic sample plate retrieval system based on Lucene Download PDF

Info

Publication number
CN104537047A
CN104537047A CN201410820013.3A CN201410820013A CN104537047A CN 104537047 A CN104537047 A CN 104537047A CN 201410820013 A CN201410820013 A CN 201410820013A CN 104537047 A CN104537047 A CN 104537047A
Authority
CN
China
Prior art keywords
basic pattern
pattern plate
index
file
retrieval
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.)
Granted
Application number
CN201410820013.3A
Other languages
Chinese (zh)
Other versions
CN104537047B (en
Inventor
柯莹
张向辉
张哲�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangnan University
Original Assignee
Jiangnan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangnan University filed Critical Jiangnan University
Priority to CN201410820013.3A priority Critical patent/CN104537047B/en
Publication of CN104537047A publication Critical patent/CN104537047A/en
Application granted granted Critical
Publication of CN104537047B publication Critical patent/CN104537047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2272Management thereof

Abstract

The invention relates to a garment basic sample plate retrieval system based on Lucene. The system comprises a data input module (1), a retrieval establishment module (2) and a response module (3). The system is characterized in that a structural index file (2-2) of a basic sample plate retrieval domain (2-1) (features and file storage positions) is established to store the relation between a keyword domain and a record in the process of inputting garment basic sample plate features (1-3) and file storage positions (1-4) into a relation type database; a user (3-3) inquires basic sample plate information (3-2) in a feature retrieval mode, and the system feeds back a result (3-4) according to inquiry conditions through the response module (3); the basic sample plates are deleted and modified, an index (4) is updated, and the uniformity of feature keywords and the index is guaranteed; the index file (5) is reestablished when lost. By utilizing the system, the efficiency of feature retrieval is greatly improved, quick retrieval of the garment basic sample plates can be achieved, and therefore the system is suitable for establishing large-scale garment basic sample plate databases; in addition, the features of the garment basic sample plates can be analyzed through the system, and the system is convenient to operate and high in practicability.

Description

A kind of clothes basic pattern plate searching system based on Lucene
Technical field
The present invention relates to a kind of clothes basic pattern plate searching system based on Lucene.
Background technology
Be widely used in the historical background of apparel industry in digital management under, if develop a kind of clothes basic pattern plate searching system, be convenient to pattern maker for different style quick-searching to basic pattern plate, both can realize making full use of existing model resource, and can increase work efficiency again.Lucene is a kind of routine library of increasing income that can be used for full-text search and search.The application's case study on implementation develops a kind of clothes basic pattern plate searching system based on Lucene, and this system comprises complete data acquisition and index creates a mechanism, and makes plate teacher can transfer basic pattern plate fast by characteristic key.
Summary of the invention
Fundamental purpose of the present invention carries out the exploitation of clothes basic pattern plate searching system, to improve convenience and the high efficiency of the retrieval of clothes basic pattern plate further.Based on a clothes basic pattern plate searching system of Lucene, comprise data inputting modular system (1), module (2) set up in index, respond module (3), it is characterized in that:
1) position (1-4) that clothes basic pattern plate features (1-3) and file store is entered in the process of relevant database by described searching system, create out the structural index file (2-2) of basic pattern plate retrieval territory (2-1) (feature, file storage location) based on Lucene, be used for the relation of stored key word territory and record;
2) basic pattern plate modified and delete, upgrading index (4), guarantee the consistance of feature critical word and index;
3), time index file is lost, index file is rebuild (5);
4) transfer basic pattern plate (3-2) by the mode of characteristic key, in described structural index file, carry out the retrieval of basic pattern plate.
Described data inputting module (1), carries out Select input in relevant database according to the basic pattern plate features set, uploads base boilerplate simultaneously; Module (2) set up in described index, builds reverse indexing, be mapped to by database retrieval in the storage organization of Lucene according to basic pattern plate features point; Described respond module (3), adopts B/S framework (browser/server), uses .net MVC (model-view-control) pattern, for searched segments provides web services.
The structural index file (2-2) of the described system that determines based on Lucene, while perdurable data storehouse, by basic pattern plate features data in relevant database with the mode write structure index file (2-2) of atom.
Carry out selecting and being entered into relevant database according to the basic pattern plate features set, format basic pattern plate features, is mapped to unified form and is inserted in database.
The data dictionary created and reverse indexing structure, store the mapping that the set of basic pattern plate features and basic pattern plate self record in a database.Reverse indexing is realized by Associate array, shows as basic pattern plate record position in a database and the feature lexical set of basic pattern plate.
After obtaining the change of basic pattern plate features, upgrade corresponding information (4) in index and index file list, guarantee that file is consistent with index information.
In addition, after losing index file, can carry out rebuilding (5) according to the preservation basic pattern plate features in database.
Querying condition using the style characteristics of basic pattern as retrieval, according to the attribute that basic pattern plate features class comprises, creates querying condition logical operation requestor.In structural index file, carry out the retrieval of basic pattern plate, thus obtain the relevant database record corresponding to basic pattern plate features lexical set, the record value meeting querying condition is returned to user.Adopt B/S framework (browser/server), use .net MVC (model-view-control structure) pattern, for searched segments provides web services.
beneficial effect
The present invention can retrieve clothes basic pattern plate, is applicable to set up large-scale clothes basic pattern plate searching database, can also utilize this systematic analysis clothes basic pattern plate feature, easy to operate, practical.
Accompanying drawing explanation
Fig. 1 is structured flowchart of the present invention.
Embodiment
Below in conjunction with specific embodiment, set forth the present invention further.Should be understood that these embodiments are only not used in for illustration of the present invention to limit the scope of the invention.In addition should be understood that those skilled in the art can make various changes or modifications the present invention, and these equivalent form of values fall within the application's appended claims limited range equally after the content of having read the present invention's instruction.
The invention provides a kind of clothes basic pattern plate searching system based on Lucene, the basic ideas of this system are: first, extract basic pattern plate features information; Secondly, in indexed file, the multiple key of input is mated; Finally, the basic pattern plate information record of database and the deposit position of file thereof is navigated to.The core of clothes basic pattern retrieval is to set up and safeguard index file and carry out query manipulation, and concrete steps are as follows:
1) format basic pattern plate features, such as, for style characteristics, upper dress mainly comprises: collar, sleeve type, modelling feature etc., skirt mainly comprises: profile, waist structure etc.In the process of feature typing, this style characteristic of correspondence of customer selecting, characteristic format turns to [the upper dress of 1-, 2-collar ... ], [1-skirt, 2-profile ...]; The position that clothes basic pattern plate features and file store is entered in the process of relevant database by searching system, will be saved in the basic pattern plate features data write structure index file in an atomic manner of relevant database.Wherein index file contains the corresponding relation of domain information (feature, file (basic pattern cad file, basic pattern picture etc.) memory location) and data-base recording;
2) according to the basic pattern plate features relation on attributes of input, create querying condition logical operation requestor, such as the modelling feature of upper dress comprises segmentation, provincial highway, takes out folding etc., and this feature can be selected simultaneously, and loose style comprises: loose, next to the skin etc., a kind of characteristic can only be selected.If the characteristic relation of input is [segmentation, provincial highway, next to the skin], the Boolean query so created is (it is next to the skin that 3-splits OR 3-provincial highway AND 4-), for this Boolean query, Lucene obtains a query tree by grammatical analysis, utilizes query tree search index, thus the relevant database record obtained corresponding to basic pattern plate features lexical set, and the record value meeting querying condition is returned to client.
3), time index file is lost, index file is rebuild;
4) basic pattern plate modified and delete, upgrading index, guarantee the consistance of feature critical word and index;
5) adopt B/S framework (browser/server), use .net MVC (model-view-control) pattern, for searched segments provides web services; The function that Background control part is write generating indexes, upgraded index, rebuilds index, perdurable data storehouse, model part is basic pattern model (style characteristics, file storage location etc.), and View component is the query interface of user.
Visible, the present invention can for being stored in file fast creation inverted index on local disk, that comprise basic pattern plate, and the monitoring that can operate basic pattern plate file erase and amendment etc. and index upgrade, to guarantee that file is consistent with index information.In addition, this system can also receive the inquiry request of user, reads index corresponding to inquiry request, and is arranged from high to low by Query Result and return to user, to help user's locating desired information fast and accurately.
As shown in drawings, based on the clothes basic pattern plate searching system of Lucene, following three modules are comprised:
Data inputting module (1), uploads basic pattern file for logging data, the form of format basic pattern plate features data;
Module (2) set up in index, and for the record stored in a database sets up index file, the amendment of basic pattern plate, upgrade in time index, when index is deleted, re-establishes index;
Respond module (3), for receiving the inquiry request of user, according to logical operation generated query tree, finding corresponding data-base recording, Query Result is returned to user.

Claims (8)

1., based on a clothes basic pattern plate searching system of Lucene, comprise data inputting modular system (1), module (2) set up in index, respond module (3), it is characterized in that:
(1) position (1-4) that clothes basic pattern plate features (1-3) and file store is entered in the process of relevant database by described searching system, create out the structural index file (2-2) of basic pattern plate retrieval territory (2-1) (feature, file storage location) based on Lucene, be used for the relation of stored key word territory and record;
(2) basic pattern plate modified and delete, upgrading index (4), guarantee the consistance of feature critical word and index;
(3), time index file is lost, index file is rebuild (5);
(4) user (3-3) transfers basic pattern plate (3-2) by the mode of characteristic key, carries out the retrieval of basic pattern plate in described structural index file.
Described data inputting module (1), selects the basic pattern plate features set to be entered in relevant database, uploads base boilerplate simultaneously; Module (2) set up in described index, builds reverse indexing, be mapped in the storage organization of Lucene by database retrieval according to basic pattern plate features point.
2. the structural index file (2-2) determining system based on Lucene as claimed in claim 1, while perdurable data storehouse, by basic pattern plate features data in relevant database with the mode write structure index file of atom.
3. structural index file (2-2) as claimed in claim 1, stores the mapping of basic pattern plate and index, and comprises the basic pattern plate features data dictionary and reverse indexing structure that set.Reverse indexing utilizes Associate array to realize, and shows as basic pattern plate record position in a database and basic pattern plate feature lexical set in a database.
4. upgrade index (4) as claimed in claim 1, after obtaining the change of basic pattern plate features, upgrade corresponding information in index and index file list, guarantee that file is consistent with index information.
5. as claimed in claim 1 index file is rebuild (5), after losing index file, rebuild according to the preservation basic pattern plate features in database.
6. the basic pattern plate features according to setting as claimed in claim 1 carries out the relevant database of Select input, and format basic pattern plate features is mapped to unified form and in data inserting storehouse.
7. the basic pattern plate features class as described in claim 3,4,5 the attribute that comprises, create querying condition logical operation requestor.
8. the mode of characteristic key as claimed in claim 1 transfers basic pattern plate, and the querying condition using the style characteristics of basic pattern as retrieval, style characteristics can final election.
CN201410820013.3A 2014-12-25 2014-12-25 A kind of clothes basic pattern plate searching system based on Lucene Active CN104537047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410820013.3A CN104537047B (en) 2014-12-25 2014-12-25 A kind of clothes basic pattern plate searching system based on Lucene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410820013.3A CN104537047B (en) 2014-12-25 2014-12-25 A kind of clothes basic pattern plate searching system based on Lucene

Publications (2)

Publication Number Publication Date
CN104537047A true CN104537047A (en) 2015-04-22
CN104537047B CN104537047B (en) 2018-01-30

Family

ID=52852575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410820013.3A Active CN104537047B (en) 2014-12-25 2014-12-25 A kind of clothes basic pattern plate searching system based on Lucene

Country Status (1)

Country Link
CN (1) CN104537047B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326243A (en) * 2015-06-19 2017-01-11 苏宁云商集团股份有限公司 Data processing method and apparatus
TWI747273B (en) * 2020-05-08 2021-11-21 光隆實業股份有限公司 Clothing pattern making management system
US11669603B2 (en) 2020-06-08 2023-06-06 Kwong Lung Enterprise Co., Ltd. Clothing pattern making management system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
劳越明: "数字化服装样板管理系统的研发", 《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》 *
罗琴: "数字化服装样板数据库设计", 《浙江纺织服装职业技术学院学报》 *
赵拥军: "服装CAPP导航设计的研究及实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326243A (en) * 2015-06-19 2017-01-11 苏宁云商集团股份有限公司 Data processing method and apparatus
CN106326243B (en) * 2015-06-19 2020-02-21 苏宁云计算有限公司 Data processing method and device
TWI747273B (en) * 2020-05-08 2021-11-21 光隆實業股份有限公司 Clothing pattern making management system
US11669603B2 (en) 2020-06-08 2023-06-06 Kwong Lung Enterprise Co., Ltd. Clothing pattern making management system

Also Published As

Publication number Publication date
CN104537047B (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN102521416B (en) Data correlation query method and data correlation query device
CN106933833B (en) Method for quickly querying position information based on spatial index technology
Chen et al. Senbazuru: A prototype spreadsheet database management system
CN109241078A (en) A kind of knowledge mapping hoc queries method based on hybrid database
CN103646032A (en) Database query method based on body and restricted natural language processing
Mirza et al. Practicability of dataspace systems
Yeganeh et al. A framework for data quality aware query systems
CN104391908B (en) Multiple key indexing means based on local sensitivity Hash on a kind of figure
CN104699841A (en) Method and device for providing list summary information of search results
CN102810114A (en) Personal computer resource management system based on body
CN102867065B (en) Based on Data Transform Device and the method for relevant database
CN111639075B (en) Non-relational database vector data management method based on flattened R tree
CN113535788A (en) Retrieval method, system, equipment and medium for marine environment data
CN106682879A (en) Integrated design flow standard system
CN104537047A (en) Garment basic sample plate retrieval system based on Lucene
Hua et al. SANE: Semantic-aware namespacein ultra-large-scale file systems
CN110321446A (en) Related data recommended method, device, computer equipment and storage medium
CN107291951B (en) Data processing method, device, storage medium and processor
RU2515565C1 (en) Method of updating structured data in relational database management system
Liu et al. Automatically extracting user reviews from forum sites
Liu et al. Analysis of spatial indexing mechanism and its application in data management: A case study on spatialite database
CN112597100B (en) File management method and device based on object proxy label
Gašpar et al. Integrating Two Worlds: Relational and NoSQL
CN102831216B (en) Image retrieval system and method for maintaining geometrical shape information of object
Khurana An introduction to temporal graph data management

Legal Events

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