CN114329098A - Method for realizing security intelligent search engine - Google Patents
Method for realizing security intelligent search engine Download PDFInfo
- Publication number
- CN114329098A CN114329098A CN202011051452.4A CN202011051452A CN114329098A CN 114329098 A CN114329098 A CN 114329098A CN 202011051452 A CN202011051452 A CN 202011051452A CN 114329098 A CN114329098 A CN 114329098A
- Authority
- CN
- China
- Prior art keywords
- data
- retrieval
- search
- lexicon
- intelligent search
- 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
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000011218 segmentation Effects 0.000 claims abstract description 13
- 238000011161 development Methods 0.000 abstract description 8
- 230000018109 developmental process Effects 0.000 abstract description 8
- 238000007405 data analysis Methods 0.000 abstract description 4
- 238000007418 data mining Methods 0.000 abstract description 3
- 238000012827 research and development Methods 0.000 abstract description 3
- 238000012423 maintenance Methods 0.000 description 7
- 230000009193 crawling Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000000875 corresponding effect Effects 0.000 description 5
- 230000007123 defense Effects 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method for realizing a security intelligent search engine, which comprises the following steps: s1: setting data types and word segmentation rules; s2: setting a retrieval keyword and a retrieval range; s3: intelligent search; s4: and displaying the retrieval result. The invention is suitable for security industry, meets the industry development trend, and can enable a platform product or a platform secondary developer to provide data mining basic capability, thereby improving the development efficiency and reducing the research and development cost; the invention breaks through the data retrieval mode of the traditional security platform product, is not limited to a single data type or the data type limitation under a customized scene any more, and can dynamically expand the platform data analysis and retrieval capability through the setting of the word segmentation rule and the setting of the data type by the user.
Description
Technical Field
The invention relates to the field of computer internet of things, in particular to a method for realizing a security intelligent search engine.
Background
The invention is mainly based on two backgrounds, firstly, the current security equipment (comprising a camera, an alarm host, an entrance guard, a visual intercom, an internet of things dynamic loop system, an AI intelligent analysis and the like) is widely used; secondly, the development of a large-scale comprehensive security and protection integrated platform is more and more extensive in application and the technical development is mature. Various security protection platforms on the upper layer are widely applied to airports, parks, electric power, petroleum and petrochemical industry and the like, and are required to be fused and applied to various system data in use, so that the system is not only used for inquiring and applying displaying of single data, but also more importantly, unified retrieval and presentation of all kinds of data in the platforms can be realized through unified data retrieval inlets. Video monitoring platforms and comprehensive security platforms of the same kind of products do not have intelligent data retrieval capability, and only can retrieve and query specified data in a certain functional module.
Currently, data retrieval is mainly divided into two categories:
1) the single data query is a basic function of various similar products, and the query and the presentation of a single data type are realized by inputting composite conditions such as time, equipment, alarm classification and the like by a user. The data query and retrieval function can only realize the query of a specified single data type, and the user needs to determine the data type to be queried before the query.
2) Structured data retrieval, which is supported by the same kind of products, is mainly based on comprehensive retrieval and presentation of three data types of personnel, vehicles and videos, and is mainly applied to the public security industry and technical and tactical inquiry of the three data. In principle, the technology is mainly used for extracting structured data of people and vehicles based on an intelligent analysis algorithm and establishing a relation through structured data attributes so as to realize related inquiry among different types.
Therefore, improvements in the prior art are needed.
Disclosure of Invention
In view of the above disadvantages of the prior art, a method for implementing a security intelligent search engine is provided, which can dynamically expand platform data analysis and retrieval capabilities through user setting of word segmentation rules and data types.
In order to achieve the above objects and other related objects, the present invention provides a method for implementing a security intelligent search engine, comprising the steps of:
s1: setting data types and word segmentation rules;
s2: setting a retrieval keyword and a retrieval range;
s3: intelligent search;
s4: and displaying the retrieval result.
In the implementation method of the security protection intelligent search engine, the data types in the step S1 include audio and video data, alarm data, resource data, camera data, personnel data, asset data, and module data of a comprehensive application function.
In the implementation method of the security protection intelligent search engine, the data types in the step S1 include audio and video data, alarm data, resource data, camera data, personnel data, asset data, and module data of a comprehensive application function.
In the implementation method of the security intelligent search engine, the retrieval range in step S2 includes: full text, audio and video, alarm, resource, camera, personnel, asset and application functions, and the front-end search interface sends the search condition to the back end.
In step S3, after receiving the search condition, the search server obtains a set containing keyword segments from each lexicon according to the keywords in the audio/video lexicon, the alarm lexicon, the resource lexicon, the camera lexicon, the personnel lexicon, the asset lexicon, and the application function lexicon, locates corresponding database records according to the indexes of the obtained database records, and reverses the database records according to time.
In step S4, the search server pushes the search result to the front-end application, the front-end obtains the search result, creates the label pages "audio/video", "alarm", "resource", "camera", "personnel", "asset" and "function" according to the data classification, displays the data information in each label page according to the data update time reverse order form, and finally implements the intelligent search.
Due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. the method is based on word segmentation and intelligent retrieval technology, is applied to the security industry, provides a mature, stable and efficient data retrieval method for a security comprehensive application platform, can uniformly manage common application data related to the existing comprehensive security platform, including audio and video, alarm data, resource data, camera data, asset data and comprehensive application data, establishes a cache and index mechanism, and has uniform data search capability. The capability can improve user experience at the platform application end, when a user does not inquire data clearly, exploratory search can be carried out through any keyword, and the intelligent search engine can return associated data to the user for the user to select and judge. The security industry is developed day by day, big data and intellectualization are bound to become trends, the method provided by the patent is particularly suitable for the security industry, the industry development trend is met, and a platform product or a platform secondary developer can provide data mining basic capability, so that the development efficiency is improved, and the research and development cost is reduced.
2. The data retrieval method breaks through the data retrieval mode of the traditional security platform product, is not limited to a single data type or the data type under a customized scene any more, and can dynamically expand the platform data analysis and retrieval capacity through the setting of word segmentation rules and the setting of data types by users.
3. The method can carry out intelligent search in daily use in a product debugging stage, a configuration stage and a maintenance stage, can realize quick addition of equipment through a search engine when a brand or an IP address of certain equipment is input in the debugging stage, and can carry out equipment parameters and equipment linkage plans without setting through a traditional complex system configuration flow. In the configuration stage, the functions can be rapidly configured by inputting the key characters of specific function modules, batch setting is supported, repeated operation in the system configuration process is greatly reduced, and the method is particularly important in large-scale projects. In the maintenance stage, when system equipment faults occur and need to be checked, information such as organization, geographical position, maintenance unit, maintenance personnel name and telephone related to the equipment of the faulty equipment can be quickly inquired through intelligent search, so that an operator can quickly and accurately transmit fault information to a maintenance unit and maintenance personnel, and the operator can conveniently check the information of the faulty equipment in a background. In the daily use process, the intelligent search can greatly improve the use efficiency of operators, for example, when a certain camera needs to be checked, only the name or the IP address of the equipment needs to be input, the intelligent search engine automatically classifies and retrieves the input content and displays the content in a list form, at the moment, the operators can directly open the real-time video of the camera according to the search result, record the video, the alarm defense area information related to the camera, the operations of remote defense arrangement and withdrawal, bypass, door opening and the like can be carried out on the alarm defense area information, in addition, the equipment basic information, the equipment asset information, the equipment operation and maintenance information and the like can be searched in a correlated manner, the limitation of the traditional product function module is avoided, and the problems that the system operation steps are complicated and the like caused by subdivision of the function module when a user uses the system are greatly improved.
Drawings
FIG. 1 is a flow chart of a search engine of the present invention crawling data regularly and maintaining a keyword bank and an index bank;
FIG. 2 is a detailed step diagram of the data retrieval process implemented by the intelligent search of the present invention;
FIG. 3 is a process diagram of completing internal data retrieval after the index server receives the intelligent retrieval request.
Detailed Description
The following description of the embodiments of the present invention is provided for illustrative purposes, and other advantages and effects of the present invention will become apparent to those skilled in the art from the present disclosure.
The structures, proportions, sizes, and other dimensions shown in the drawings and described in the specification are for understanding and reading the present disclosure, and are not intended to limit the scope of the present disclosure, which is defined in the claims, and are not essential to the art, and any structural modifications, changes in proportions, or adjustments in size, which do not affect the efficacy and attainment of the same are intended to fall within the scope of the present disclosure. In addition, the terms "upper", "lower", "left", "right", "middle" and "one" used in the present specification are for clarity of description, and are not intended to limit the scope of the present invention, and the relative relationship between the terms and the terms is not to be construed as a scope of the present invention.
The embodiment of the invention provides a method for realizing a security intelligent search engine, which comprises the following steps:
s1: setting data types and word segmentation rules;
s2: setting a retrieval keyword and a retrieval range;
s3: intelligent search;
s4: and displaying the retrieval result.
The data types comprise audio and video, alarm data, resource data, camera data, personnel data, asset data and comprehensive application function module data, the word segmentation rule is based on Chinese nouns, nouns of the data are extracted, and the extracted words are subjected to reverse order index sorting; inputting any keyword and selecting a retrieval range (the retrieval range comprises full text, audio and video types, alarm types, resource types, camera types, personnel types, asset types and application function types), and the front-end search interface sends the search condition to the rear end; after receiving the retrieval conditions, the search server end acquires a set containing keyword participles in each word bank according to keywords in an audio/video word bank (AV-lexicon), an Alarm word bank (Alarm-lexicon), a resource word bank (Resources-lexicon), a Camera word bank (Camera-lexicon), a personnel word bank (Person-lexicon), an Asset word bank (Asset-lexicon) and an application Function word bank (Function-lexicon) according to the input retrieval range, positions corresponding database records according to indexes of the acquired database records, and performs reverse sequencing on the database records according to time; the search server side pushes the search result to the front-end application, the front end creates the label pages of audio and video, alarm, resource, camera, personnel, asset and function according to data classification after obtaining the search result, data information is displayed in the label pages according to the reverse order form of data updating time, and intelligent search is finally achieved.
In specific use, establishing and maintaining a keyword library and an index library are the basis of an intelligent search engine, and the search engine can crawl data and maintain the keyword library and the index library at regular time, as shown in fig. 1:
the intelligent search service supports a data crawling service, when the intelligent search engine service is started, the data crawling service is started at the same time, the service regularly crawls latest updated data from a database (the data types are the same as the search data types supported by the intelligent search engine and comprise an audio and video database, an alarm database, a resource information database, a camera information database, an asset information database, a personnel information database, a system function database, and the like), records in each database mark the latest updating time of the current data by a timestamp, and the crawling service acquires the data with new updating time.
And the crawling service performs word segmentation processing on the acquired data according to word segmentation rules set by the system, and extracts nouns in the data. For example, the resource information is named as 'infrared alarm defense area 1', and the resource name is extracted as 'infrared', 'alarm', 'defense area 1' according to the word segmentation rule.
The crawling service compares the extracted participles in a word bank cached in the system, and if the participles have data corresponding to updated participles; if the participle is not cached, a cache is created and the corresponding data index is stored.
In addition, the intelligent search will implement the data retrieval process, as shown in fig. 2, which is described in detail as follows:
1) the user inputs the keywords of the data to be retrieved in the search box of the front-end application and selects the retrieval range, if the type of the uncertain retrieval data can be set as full-text retrieval, the front-end application subscribes the data retrieval result topic of the ActiveMQ, and calls a server interface to send a request to the retrieval server.
2) The index server receives the intelligent retrieval request, and completes internal data retrieval according to the process shown in fig. 3, which comprises the following steps:
2.1 after the index server is started, the index server is in a state of waiting for a command request;
2.2 the index server receives the search request sent by the front-end application, and obtains the retrieval range, page number, display data amount of each page, keyword information and the like of the data type from the request message. The index server first explicitly retrieves a data set range in the cache according to the retrieval range. If the retrieval range is full-text retrieval, setting all cached data sets; if the retrieval range specifies a certain data type, the data set under the specified type is set.
And 2.3, the index server takes the keywords as participles to obtain a union set in the determined data set according to the keywords in the request, so that indexes of all data records meeting the conditions are obtained, then the data indexes are sorted in a reverse order according to the time stamps, the data indexes are taken as database query conditions to perform paging query of the database, and data items of specified page numbers and data amount of each page are queried.
And 2.4, merging and recombining the inquired data by the index server.
3) The index server pushes the inquired data to the topic of the ActiveMQ, so that the front-end application can subscribe the searched data in the topic, respectively create Label labels according to the returned data types, and display the data under the corresponding labels, thereby realizing the intelligent search of the data.
The implementation method of the security intelligent search engine is suitable for the security industry, meets the industry development trend, and can enable a platform product or a platform secondary developer to provide data mining basic capability, thereby improving the development efficiency and reducing the research and development cost; the invention breaks through the data retrieval mode of the traditional security platform product, is not limited to a single data type or the data type limitation under a customized scene any more, and can dynamically expand the platform data analysis and retrieval capability through the setting of the word segmentation rule and the setting of the data type by the user.
The foregoing examples are illustrative only of the principles and effects of the present invention, and are not to be construed as limiting the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.
Claims (5)
1. A method for realizing a security intelligent search engine is characterized by comprising the following steps:
s1: setting data types and word segmentation rules;
s2: setting a retrieval keyword and a retrieval range;
s3: intelligent search;
s4: and displaying the retrieval result.
2. The implementation method of the security intelligent search engine according to claim 1, characterized in that: the data types in step S1 include audio video, alarm data, resource data, camera data, personnel data, asset data, module data for integrated application functions.
3. The implementation method of the security intelligent search engine according to claim 1, characterized in that: the search range in step S2 includes: full text, audio and video, alarm, resource, camera, personnel, asset and application functions, and the front-end search interface sends the search condition to the back end.
4. The implementation method of the security intelligent search engine according to claim 1, characterized in that: in step S3, after receiving the search condition, the search server obtains a set containing keyword segments from each lexicon according to the keywords in the audio/video lexicon, the alarm lexicon, the resource lexicon, the camera lexicon, the personnel lexicon, the asset lexicon, and the application function lexicon according to the input search range, locates corresponding database records according to the indexes of the obtained database sets, and reverses the database records according to time.
5. The implementation method of the security intelligent search engine according to claim 1, characterized in that: in step S4, the search server pushes the search result to the front-end application, and the front-end creates the tab pages "audio/video", "alarm", "resource", "camera", "person", "asset" and "function" according to the data classification after obtaining the search result, and displays the data information in each tab page according to the data update time reverse order form, thereby finally realizing the intelligent search.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011051452.4A CN114329098A (en) | 2020-09-29 | 2020-09-29 | Method for realizing security intelligent search engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011051452.4A CN114329098A (en) | 2020-09-29 | 2020-09-29 | Method for realizing security intelligent search engine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114329098A true CN114329098A (en) | 2022-04-12 |
Family
ID=81010862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011051452.4A Pending CN114329098A (en) | 2020-09-29 | 2020-09-29 | Method for realizing security intelligent search engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114329098A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845104A (en) * | 2006-05-22 | 2006-10-11 | 赵开灏 | System and method for intelligent retrieval and processing of information |
CN101789006A (en) * | 2010-01-29 | 2010-07-28 | 华东电网有限公司 | Intelligent search based quick searching method of power grid enterprise information integrating system |
CN105354251A (en) * | 2015-10-19 | 2016-02-24 | 国家电网公司 | Hadoop based power cloud data management indexing method in power system |
CN109564568A (en) * | 2017-02-13 | 2019-04-02 | 赛思研究所 | Distributed data collection index |
CN111538745A (en) * | 2020-07-09 | 2020-08-14 | 中科全维科技(苏州)有限公司 | Special data POI retrieval system and retrieval method for emergency field |
-
2020
- 2020-09-29 CN CN202011051452.4A patent/CN114329098A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845104A (en) * | 2006-05-22 | 2006-10-11 | 赵开灏 | System and method for intelligent retrieval and processing of information |
CN101789006A (en) * | 2010-01-29 | 2010-07-28 | 华东电网有限公司 | Intelligent search based quick searching method of power grid enterprise information integrating system |
CN105354251A (en) * | 2015-10-19 | 2016-02-24 | 国家电网公司 | Hadoop based power cloud data management indexing method in power system |
CN109564568A (en) * | 2017-02-13 | 2019-04-02 | 赛思研究所 | Distributed data collection index |
CN111538745A (en) * | 2020-07-09 | 2020-08-14 | 中科全维科技(苏州)有限公司 | Special data POI retrieval system and retrieval method for emergency field |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7054875B2 (en) | Method and apparatus for notifying a user of new data entered into an electronic system | |
JP4593855B2 (en) | System and method for personalized information filtering and alert generation | |
US6691105B1 (en) | System and method for geographically organizing and classifying businesses on the world-wide web | |
US8954442B2 (en) | System and method for classifying an electronic document | |
US20090319515A1 (en) | System and method for managing entity knowledgebases | |
US8712999B2 (en) | Systems and methods for online search recirculation and query categorization | |
KR20000072482A (en) | Internet searching system to be easy by user and method thereof | |
JPH1115856A (en) | Server for integrating data base | |
JPH10240771A (en) | Image retrieval method based upon meaning and recognition and device therefor | |
TWI549004B (en) | Search Method Based on Online Trading Platform and Establishment Method of Device and Web Database | |
CN104050243B (en) | It is a kind of to search for the network search method combined with social activity and its system | |
CN109241259A (en) | Natural language querying method, apparatus and system based on ER model | |
CN109977291A (en) | Search method, device, equipment and storage medium based on physical knowledge map | |
KR20030069640A (en) | System and method for geting information on hierarchical and conceptual clustering | |
KR20010105842A (en) | Information providing method for information searching result in an internet | |
CN114329098A (en) | Method for realizing security intelligent search engine | |
KR20030051577A (en) | Display method for research result in internet site | |
CN106777124A (en) | Semantic knowledge method, apparatus and system | |
Castano et al. | Building views over semistructured data sources | |
EP1363203A1 (en) | System and method for searching information automatically according to analysed results | |
KR100594180B1 (en) | Integrated search method online | |
Pitchandi et al. | Content based segregation of pertinent documents using adaptive progression | |
CN118014070A (en) | Intelligent application method, device, equipment and medium based on intelligent map | |
JPH11149479A (en) | Method and device for displaying retrieval information in hypermedia system | |
TR202012469A2 (en) | A DOCUMENT SEARCH SYSTEM |
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 |