CN110532371B - Full-text retrieval method and device based on configuration management database and electronic equipment - Google Patents

Full-text retrieval method and device based on configuration management database and electronic equipment Download PDF

Info

Publication number
CN110532371B
CN110532371B CN201910612075.8A CN201910612075A CN110532371B CN 110532371 B CN110532371 B CN 110532371B CN 201910612075 A CN201910612075 A CN 201910612075A CN 110532371 B CN110532371 B CN 110532371B
Authority
CN
China
Prior art keywords
configuration
retrieval
information
management database
full
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.)
Active
Application number
CN201910612075.8A
Other languages
Chinese (zh)
Other versions
CN110532371A (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.)
Chinaetek Service & Technology Co ltd
Original Assignee
Chinaetek Service & Technology Co ltd
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 Chinaetek Service & Technology Co ltd filed Critical Chinaetek Service & Technology Co ltd
Priority to CN201910612075.8A priority Critical patent/CN110532371B/en
Publication of CN110532371A publication Critical patent/CN110532371A/en
Application granted granted Critical
Publication of CN110532371B publication Critical patent/CN110532371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a full-text retrieval method and device based on a configuration management database and electronic equipment, wherein the method comprises the following steps: based on a basic word bank, carrying out word segmentation processing on a retrieval word segment input by a user to obtain a retrieval keyword; respectively generating corresponding configuration surfaces of configuration information in a configuration management database according to a class number, a configuration item description, a configuration item last modification time, a configuration item information set JOSN and a configuration item information number set JS; and target information is searched in the configuration management database based on the search keyword and each configuration. The embodiment of the invention can effectively avoid frequently changing the texture surface list of full-text retrieval, thereby effectively reducing the operation complexity and improving the retrieval efficiency.

Description

Full-text retrieval method and device based on configuration management database and electronic equipment
Technical Field
The invention relates to the technical field of big data, in particular to a full-text retrieval method and device based on a configuration management database and electronic equipment.
Background
In order to achieve the goal of dynamic IT operation and maintenance services, IT L must be directed to really be embodied to specific, scalable and integrable entities, and the container carrying these entities is a Configuration Management Database (CMDB).
Although all the configuration information can be collected through the CMDB, the relevant configuration information cannot be directly viewed through the CMDB, and the CMDB needs to be searched in a specific module, so that a full-text retrieval function is needed.
When the traditional full-text search engine searches information, the used configuration is set in advance, so that the configuration list of full-text search needs to be changed frequently when the information is searched in different classes, and the serial numbers of configuration items in different classes in the CMDB are not fixed, so that the configuration cannot be fixed in the full-text search function in advance, which brings great operation complexity and seriously affects the search efficiency.
Disclosure of Invention
In order to overcome the above problems or at least partially solve the above problems, embodiments of the present invention provide a full-text retrieval method, apparatus and electronic device based on a configuration management database, so as to effectively avoid frequently changing a configuration list of full-text retrieval, thereby effectively reducing the complexity of operations and improving the retrieval efficiency.
In a first aspect, an embodiment of the present invention provides a full-text retrieval method based on a configuration management database, including:
based on a basic word bank, carrying out word segmentation processing on a retrieval word segment input by a user to obtain a retrieval keyword;
respectively generating corresponding configuration surfaces of configuration information in a configuration management database according to a class number, a configuration item description, a configuration item last modification time, a configuration item information set JOSN and a configuration item information number set JS;
and target information is searched in the configuration management database based on the search keyword and each configuration.
In a second aspect, an embodiment of the present invention provides a full-text retrieval apparatus based on a configuration management database, including:
the word segmentation module is used for carrying out word segmentation processing on a retrieval word segment input by a user based on a basic word bank to obtain a retrieval keyword;
the configuration module is used for respectively generating corresponding configuration surfaces of configuration information in the configuration management database according to the class number, the configuration item description, the configuration item last modification time, the configuration item information set JOSN and the configuration item information number set JS;
and the retrieval output module is used for retrieving target information in the configuration management database based on the retrieval keywords and the configuration surfaces.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the steps of the full-text retrieval method based on the configuration management database according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which computer instructions are stored, and when the computer instructions are executed by a computer, the steps of the full-text retrieval method based on a configuration management database according to the first aspect are implemented.
According to the full-text retrieval method, the full-text retrieval device and the electronic equipment based on the configuration management database, the configuration item information set JOSN and the configuration item information number set JS are uniformly generated with corresponding configuration surfaces in advance, full-text retrieval is carried out based on the configuration surfaces, and a configuration surface list of the full-text retrieval can be effectively prevented from being frequently changed, so that the operation complexity can be effectively reduced, and the retrieval efficiency can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a full-text retrieval method based on a configuration management database according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a full-text retrieval method based on a configuration management database according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a full-text search apparatus based on a configuration management database according to an embodiment of the present invention;
fig. 4 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without any creative efforts belong to the protection scope of the embodiments of the present invention.
Aiming at the problems that in the prior art, when information is searched in different categories, the facet list of full-text retrieval needs to be frequently changed, so that the greater operation complexity is brought and the retrieval efficiency is seriously influenced, the embodiment of the invention generates corresponding facets for the configuration item information set JOSN and the configuration item information number set JS in advance, and performs full-text retrieval based on the facets, so that the facet list of full-text retrieval can be effectively prevented from being frequently changed, the operation complexity is effectively reduced, and the retrieval efficiency is improved. Embodiments of the present invention will be described and illustrated with reference to various embodiments.
Fig. 1 is a schematic flowchart of a full-text retrieval method based on a configuration management database according to an embodiment of the present invention, as shown in fig. 1, the method includes:
s101, based on the basic word stock, carrying out word segmentation processing on the retrieval word segments input by the user to obtain retrieval keywords.
It can be understood that, when related information needs to be retrieved, a user is usually required to provide a corresponding retrieval word, and word-level matching is mostly adopted in the existing matching algorithm to achieve higher matching accuracy, so that appropriate information may not be matched in a retrieval library directly according to the retrieval word. The embodiment of the invention firstly obtains the retrieval language section provided by the user. And then, based on the word segmentation in the basic word bank, carrying out word segmentation processing on the search word segments input by the user according to a certain word segmentation algorithm to obtain a plurality of word segmentations, namely the word segmentations are used as search keywords.
S102, respectively generating corresponding configuration surfaces for the configuration information in the configuration management database according to the class number, the configuration item description, the last modification time of the configuration item, the configuration item information set JOSN and the configuration item information number set JS.
It can be understood that, in order to solve the problem of non-fixed configuration of the configuration management database, in the embodiment of the present invention, before information retrieval is performed, unified configuration is performed, that is, unified configurations are generated for the configuration item information set JOSN and the configuration item information number set JS, so that a configuration including all configuration item information and a configuration including all configuration item information numbers are obtained, which are referred to as a complete configuration item information configuration and a complete configuration item information number configuration, respectively. Meanwhile, in order to perform information retrieval normally, corresponding configuration surfaces are also generated for the configuration information in the configuration management database according to the class number, the configuration item description and the last modification time of the configuration item according to the conventional operation.
S103, target information is searched in the configuration management database based on the search keyword and each configuration.
It can be understood that, on the basis of the above processing, the embodiment of the present invention performs information retrieval in the configuration management database with reference to the retrieval keyword of the user. Specifically, according to a retrieval keyword, a class number component, a configuration item description component and a configuration item last modification time component are called, retrieval is performed in a complete configuration item information number component, a configuration item information number of target information is determined, and according to the configuration item information number, the complete configuration item information component is called, and corresponding configuration item information is obtained and is used as retrieved target information.
According to the full-text retrieval method based on the configuration management database, the configuration item information set JOSN and the configuration item information number set JS are uniformly generated with the corresponding configuration surfaces in advance, full-text retrieval is carried out based on the configuration surfaces, and a configuration surface list of the full-text retrieval can be effectively prevented from being frequently changed, so that the operation complexity is effectively reduced, and the retrieval efficiency is improved.
In the traditional full-text retrieval function, the search results are the same when the CMDB is oriented to all users, so that the requirements of different users of the CMDB cannot be met, and the views seen under different authorities cannot be displayed through full-text retrieval. Therefore, on the basis of the above embodiments, before the step of generating the corresponding configuration, the embodiment of the present invention further includes: adding user authority information into a configuration item information set JOSN; after the step of obtaining the search keyword, the method further comprises the following steps: and acquiring the identity information of the user, and packaging the retrieval keyword and the identity information.
Correspondingly, based on the search keyword and the identity information which are packaged, a full-text search platform is called, and based on the search keyword, the identity information and each configuration, the query is carried out in a configuration management database so as to search out the target information which is in accordance with the search keyword in the corresponding authority range of the user.
It can be understood that, in order to enable different users to only display information related to their identities, that is, information that the current user is interested in, when performing information retrieval, the embodiment of the present invention needs to obtain the identity information of the current user on the basis of obtaining the user retrieval keyword, and package the identity information and the information to be bound. In addition, user authority information is also added to the configuration item information set JOSN for configuration, that is, for each item of configuration information, the corresponding user authority needs to be set, or what kind of identity information the user can obtain the configuration information needs to be set.
Then, optionally, the step of querying in the configuration management database specifically includes: and based on the identity information and the user authority information, filtering the configuration information in the configuration item information set JOSN, acquiring the configuration information in the authority range corresponding to the identity information, and based on the retrieval key words and all configuration surfaces, retrieving the configuration information in the corresponding authority range to acquire the target information.
That is to say, when performing normal information retrieval, besides performing information query in the configuration management database according to the retrieval key word, the queried result needs to be filtered and screened according to the user information and the user authority information included in the configuration item information, so that the obtained retrieval result is information only matched with the current user identity information.
According to the embodiment of the invention, the identity information of the user and the user search word are packaged and bound, so that the effective information corresponding to the authority can be screened out according to the identity information of the user during information search, and therefore, the result that different user queries is the result determined according to the authority of the user through the filtering of the authority, namely, personalized search is realized. Meanwhile, according to the retrieval method, the user can be ensured to only view the information within the authority of the user, and the information safety of the system can be ensured.
In addition, on the basis of the foregoing embodiments, before the step of retrieving the target information in the configuration management database based on the search keyword and each configuration, the method according to an embodiment of the present invention may further include: synchronizing the class configuration items of the configuration management database to a full-text retrieval library, and performing word segmentation on the configuration item information in a configuration item information set JOSN to establish an index. Accordingly, the target information is retrieved in the configuration management database using the index based on the retrieval key and each configuration.
That is to say, in order to avoid the problem of slow query speed caused by the fact that all facets need to be directly accessed each time to be able to acquire the search information, the embodiment of the present invention generates an index in advance according to the configuration management database. Specifically, firstly, the class configuration items of the configuration management database are synchronized to the full-text search library, and the word segmentation processing is respectively carried out on each configuration item information in the configuration item information set JOSN in the full-text search library, and the corresponding index is established and stored. And then, when normal information retrieval is carried out, the index table of the index is called according to the retrieval key words, the index table is inquired, the target information is quickly positioned, and the final inquiry time can be effectively reduced.
In some optional embodiments, after the step of obtaining the search keyword, the method of the embodiments of the present invention may further include: and adding the search keywords into the basic word stock to update and perfect the basic word stock.
It can be understood that, in order to perform word segmentation more reasonably to achieve higher matching accuracy, the embodiment of the present invention continuously perfects the basic word bank for word segmentation. Specifically, after the search field input by the user is segmented and the configuration information of the configuration management database is segmented, all segmentation results are added into the basic word bank, so that the vocabulary in the basic word bank is expanded, and the search keyword with the semantic closer to the intention of the user can be segmented during word segmentation.
To further illustrate the technical solutions of the embodiments of the present invention, the embodiments of the present invention provide the following specific processing flows according to the above embodiments, but do not limit the scope of the embodiments of the present invention.
Fig. 2 is a schematic flow chart of a full-text retrieval method based on a configuration management database according to another embodiment of the present invention, and as shown in fig. 2, the implementation of the method mainly includes the following steps:
firstly, according to a certain word segmentation algorithm, carrying out word segmentation on a search field input by a user to obtain a corresponding search keyword. Meanwhile, a basic word stock can be generated according to the obtained search keywords and is continuously updated and perfected.
Secondly, correspondingly generating different configuration surfaces according to the configuration information of the CMDB, such as class numbers, configuration item description, configuration item last modification time, configuration item information sets JOSN and configuration item information number sets JS, and performing index generation on the configuration information through a word segmentation algorithm and storing the configuration information.
And finally, inquiring through the current user authority, the retrieval key words and the like by using a certain inquiry algorithm, finally inquiring the index through the retrieval key words, filtering the inquired information according to the current user authority, inquiring the configuration information in the relevant category which accords with the retrieval key words in the current user authority range, and displaying in pages.
The embodiment of the invention can realize that the result views inquired by different users are the results determined according to the self authority of the users by filtering the authority. And no matter how the configuration items of the classes in the CMDB are designed, the form of the non-fixed configuration surface of the configuration items in the CMDB can be set according to the initial configuration surface. On one hand, full-text retrieval results can be filtered according to the current user permission; on the other hand, the face configuration list of full-text retrieval is not required to be frequently changed; yet another aspect reduces the final query time by generating indexes ahead of time.
Based on the same conception, the embodiment of the present invention provides a full-text search device based on a configuration management database according to the above embodiments, and the device is used for implementing full-text search based on the configuration management database in the above embodiments. Therefore, the description and definition in the full-text retrieval method based on the configuration management database in the embodiments above may be used for understanding each execution module in the embodiments of the present invention, and specific reference may be made to the embodiments above, which are not described herein again.
According to an embodiment of the present invention, a structure of a full-text retrieval apparatus based on a configuration management database is shown in fig. 3, which is a schematic structural diagram of a full-text retrieval apparatus based on a configuration management database provided in an embodiment of the present invention, and the apparatus can be used for implementing full-text retrieval based on a configuration management database in the above-mentioned method embodiments, and the apparatus includes: a word segmentation module 301, a configuration module 302 and a retrieval output module 303. Wherein:
the word segmentation module 301 is configured to perform word segmentation processing on a search word segment input by a user based on a basic word bank to obtain a search keyword; the configuration module 302 is configured to generate corresponding configuration surfaces for the configuration information in the configuration management database according to the class number, the configuration item description, the configuration item last modification time, the configuration item information set JOSN, and the configuration item information number set JS; the search output module 303 is configured to search the configuration management database for target information based on the search keyword and each configuration.
Specifically, the word segmentation module 301 first obtains a search corpus provided by a user. And then, based on the word segmentation in the basic word bank, carrying out word segmentation processing on the search word segments input by the user according to a certain word segmentation algorithm to obtain a plurality of word segmentations, namely the word segmentations are used as search keywords.
Then, before information retrieval, the configuration module 302 performs uniform configuration, that is, uniform configuration is generated for the configuration item information set JOSN and the configuration item information number set JS, so that a configuration containing all configuration item information and a configuration containing all configuration item information numbers are obtained, which are called as a complete configuration item information configuration and a complete configuration item information number configuration, respectively. Meanwhile, in order to perform information retrieval normally, the configuration module 302 needs to generate corresponding configuration surfaces according to the class number, the configuration item description, and the configuration item last modification time for the configuration information in the configuration management database according to the conventional operation.
Finally, the search output module 303 searches the information in the configuration management database based on the search keyword of the user. Specifically, the retrieval output module 303 first retrieves the configuration item information number of the target information by calling the class number configuration, the configuration item description configuration, and the configuration item last modification time configuration according to the retrieval keyword, and then obtains the corresponding configuration item information as the retrieved target information by calling the complete configuration item information configuration according to the configuration item information number.
According to the full-text retrieval device based on the configuration management database, the corresponding execution modules are arranged, the configuration item information set JOSN and the configuration item information number set JS are uniformly generated with corresponding configuration surfaces in advance, full-text retrieval is carried out based on the configuration surfaces, and a configuration surface list of the full-text retrieval can be effectively prevented from being frequently changed, so that the operation complexity is effectively reduced, and the retrieval efficiency is improved.
Further, the configuration module is further configured to add user permission information to the configuration item information set JOSN; the word segmentation module is also used for acquiring the identity information of the user and packaging the search keywords and the identity information.
Correspondingly, the retrieval output module is specifically used for calling a full-text retrieval platform based on the retrieval keywords and the identity information which are packaged and processed, and inquiring in the configuration management database based on the retrieval keywords, the identity information and all the configuration surfaces so as to retrieve the target information which accords with the retrieval keywords in the corresponding authority range of the user.
Further, the retrieval output module is also used for synchronizing the class configuration items of the configuration management database to the full-text retrieval library and performing word segmentation on the configuration item information in the configuration item information set JOSN to establish an index. Correspondingly, the retrieval output module is specifically configured to retrieve the target information in the configuration management database by using the index based on the retrieval key words and the configuration planes.
It is understood that, in the embodiment of the present invention, each relevant program module in the apparatus of each of the above embodiments may be implemented by a hardware processor (hardware processor). Moreover, the full-text retrieval device based on the configuration management database according to the embodiment of the present invention can implement the full-text retrieval process based on the configuration management database according to the above-mentioned method embodiments by using the above-mentioned program modules, and when the device according to the embodiment of the present invention is used for implementing the full-text retrieval based on the configuration management database according to the above-mentioned method embodiments, the beneficial effects produced by the device according to the embodiment of the present invention are the same as those of the corresponding above-mentioned method embodiments, and the above-mentioned method embodiments may be referred to, and are not described herein again.
As a further aspect of the embodiments of the present invention, the present embodiment provides an electronic device according to the above embodiments, where the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the full-text retrieval method based on the configuration management database according to the above embodiments are implemented.
Further, the electronic device of the embodiment of the present invention may further include a communication interface and a bus. Referring to fig. 4, an entity structure diagram of an electronic device provided in an embodiment of the present invention includes: at least one memory 401, at least one processor 402, a communication interface 403, and a bus 404.
The memory 401, the processor 402 and the communication interface 403 complete mutual communication through the bus 404, and the communication interface 403 is used for information transmission between the electronic device and the configuration management database device; the memory 401 stores a computer program that can be executed on the processor 402, and when the processor 402 executes the computer program, the steps of the full-text retrieval method based on the configuration management database according to the embodiments are implemented.
It is understood that the electronic device at least includes a memory 401, a processor 402, a communication interface 403 and a bus 404, and the memory 401, the processor 402 and the communication interface 403 are connected in communication with each other through the bus 404, and can complete communication with each other, for example, the processor 402 reads program instructions of a full-text retrieval method based on a configuration management database from the memory 401. In addition, the communication interface 403 may also implement communication connection between the electronic device and the configuration management database device, and may complete mutual information transmission, such as full-text retrieval based on the configuration management database implemented by the communication interface 403.
When the electronic device is running, the processor 402 calls the program instructions in the memory 401 to perform the methods provided by the above-mentioned method embodiments, including for example: based on a basic word bank, carrying out word segmentation processing on a retrieval word segment input by a user to obtain a retrieval keyword; respectively generating corresponding configuration surfaces of configuration information in a configuration management database according to a class number, a configuration item description, a configuration item last modification time, a configuration item information set JOSN and a configuration item information number set JS; target information and the like are retrieved from the configuration management database based on the retrieval keyword and each configuration.
The program instructions in the memory 401 may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Alternatively, all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, where the program may be stored in a computer-readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium according to the above embodiments, on which computer instructions are stored, and when the computer instructions are executed by a computer, the steps of the full-text retrieval method based on a configuration management database according to the above embodiments are implemented, for example, including: based on a basic word bank, carrying out word segmentation processing on a retrieval word segment input by a user to obtain a retrieval keyword; respectively generating corresponding configuration surfaces of configuration information in a configuration management database according to a class number, a configuration item description, a configuration item last modification time, a configuration item information set JOSN and a configuration item information number set JS; target information and the like are retrieved from the configuration management database based on the retrieval keyword and each configuration.
According to the electronic device and the non-transitory computer readable storage medium provided by the embodiments of the present invention, by executing the full-text retrieval method based on the configuration management database described in each of the embodiments, the configuration item information set JOSN and the configuration item information number set JS are uniformly generated with corresponding configuration planes in advance, and full-text retrieval is performed based on these configuration planes, so that frequent change of a configuration plane list for full-text retrieval can be effectively avoided, thereby effectively reducing the computational complexity and improving the retrieval efficiency.
It is to be understood that the above-described embodiments of the apparatus, the electronic device and the storage medium are merely illustrative, and that elements described as separate components may or may not be physically separate, may be located in one place, or may be distributed on different network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the technical solutions mentioned above may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a usb disk, a removable hard disk, a ROM, a RAM, a magnetic or optical disk, etc., and includes several instructions for causing a computer device (such as a personal computer, a server, or a network device, etc.) to execute the methods described in the method embodiments or some parts of the method embodiments.
In addition, it should be understood by those skilled in the art that in the specification of the embodiments of the present invention, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the description of the embodiments of the invention, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description. Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
However, the disclosed method should not be interpreted as reflecting an intention that: that is, the claimed embodiments of the invention require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of an embodiment of this invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, and not to limit the same; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A full-text retrieval method based on a configuration management database is characterized by comprising the following steps:
based on a basic word bank, carrying out word segmentation processing on a retrieval word segment input by a user to obtain a retrieval keyword;
respectively generating corresponding configuration surfaces of configuration information in a configuration management database according to a class number, a configuration item description, a configuration item last modification time, a configuration item information set JOSN and a configuration item information number set JS;
target information is searched in the configuration management database based on the search keyword and each configuration;
before the step of generating the corresponding configuration surfaces respectively, the method further comprises the following steps: adding user authority information into the configuration item information set JOSN;
after the step of obtaining the search keyword, the method further comprises: acquiring identity information of the user, and packaging the retrieval keyword and the identity information;
correspondingly, based on the search keyword and the identity information which are packaged, a full-text search platform is called, and based on the search keyword, the identity information and each configuration, the query is carried out in the configuration management database so as to search out the target information which accords with the search keyword in the corresponding authority range of the user.
2. The full-text retrieval method based on the configuration management database according to claim 1, wherein before the step of retrieving target information in the configuration management database based on the retrieval keyword and each of the facets, further comprising:
synchronizing the class configuration items of the configuration management database to a full-text retrieval library, and performing word segmentation on the configuration item information in the configuration item information set JOSN to establish an index;
correspondingly, target information is searched in the configuration management database by using the index based on the search keyword and each structural plane.
3. The full-text search method based on the configuration management database according to claim 1 or 2, further comprising, after the step of obtaining the search keyword:
and adding the retrieval key words into the basic word stock to update and perfect the basic word stock.
4. The full-text retrieval method based on the configuration management database according to claim 1, wherein the step of querying in the configuration management database specifically comprises:
and filtering the configuration information in the configuration item information set JOSN based on the identity information and the user authority information to obtain the configuration information in the authority range corresponding to the identity information, and retrieving the configuration information in the corresponding authority range based on the retrieval keyword and each structural surface to obtain the target information.
5. A full-text search device based on a configuration management database, comprising:
the word segmentation module is used for carrying out word segmentation processing on a retrieval word segment input by a user based on a basic word bank to obtain a retrieval keyword;
the configuration module is used for respectively generating corresponding configuration surfaces of configuration information in the configuration management database according to the class number, the configuration item description, the configuration item last modification time, the configuration item information set JOSN and the configuration item information number set JS;
a retrieval output module, configured to retrieve target information from the configuration management database based on the retrieval keyword and each of the configuration surfaces;
the configuration module is also used for adding user authority information into the configuration item information set JOSN;
the word segmentation module is further used for acquiring the identity information of the user and packaging the search keyword and the identity information;
correspondingly, the retrieval output module is specifically configured to invoke a full-text retrieval platform based on the encapsulated retrieval keyword and the identity information, and perform query in the configuration management database based on the retrieval keyword, the identity information, and each configuration so as to retrieve target information that conforms to the retrieval keyword within the corresponding authority range of the user.
6. The full-text retrieval device based on the configuration management database according to claim 5, wherein the retrieval output module is further configured to synchronize the class configuration items of the configuration management database to a full-text retrieval library, and perform word segmentation and index establishment on the configuration item information in the configuration item information set JOSN;
correspondingly, the retrieval output module is specifically configured to retrieve, based on the retrieval keyword and each of the configuration surfaces, target information in the configuration management database by using the index.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the full text retrieval method based on the configuration management database according to any one of claims 1 to 4.
8. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein the computer instructions, when executed by a computer, implement the steps of the full text retrieval method based on a configuration management database according to any one of claims 1 to 4.
CN201910612075.8A 2019-07-08 2019-07-08 Full-text retrieval method and device based on configuration management database and electronic equipment Active CN110532371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910612075.8A CN110532371B (en) 2019-07-08 2019-07-08 Full-text retrieval method and device based on configuration management database and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910612075.8A CN110532371B (en) 2019-07-08 2019-07-08 Full-text retrieval method and device based on configuration management database and electronic equipment

Publications (2)

Publication Number Publication Date
CN110532371A CN110532371A (en) 2019-12-03
CN110532371B true CN110532371B (en) 2020-08-07

Family

ID=68659564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910612075.8A Active CN110532371B (en) 2019-07-08 2019-07-08 Full-text retrieval method and device based on configuration management database and electronic equipment

Country Status (1)

Country Link
CN (1) CN110532371B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125102B (en) * 2019-12-16 2023-03-21 北京明略软件系统有限公司 Data query method and device based on index data
CN111104369A (en) * 2019-12-16 2020-05-05 北京明略软件系统有限公司 Retrieval database construction method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572627A (en) * 2009-06-09 2009-11-04 北京华环电子股份有限公司 Management method in integrating network and system thereof
CN107832446A (en) * 2017-11-22 2018-03-23 联动优势科技有限公司 A kind of searching method and computing device of configuration item information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9141690B2 (en) * 2010-05-14 2015-09-22 Salesforce.Com, Inc. Methods and systems for categorizing data in an on-demand database environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572627A (en) * 2009-06-09 2009-11-04 北京华环电子股份有限公司 Management method in integrating network and system thereof
CN107832446A (en) * 2017-11-22 2018-03-23 联动优势科技有限公司 A kind of searching method and computing device of configuration item information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
共享配置管理系统研究与实现;罗智聪;《中国优秀硕士学位论文全文数据库信息科技辑》;20100315;第3-5章 *

Also Published As

Publication number Publication date
CN110532371A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
US11126647B2 (en) System and method for hierarchically organizing documents based on document portions
KR101775742B1 (en) Contextual queries
US20190005025A1 (en) Performing semantic graph search
Nabli et al. Efficient cloud service discovery approach based on LDA topic modeling
CN106708996B (en) Method and system for full text search of relational database
US20130226930A1 (en) Apparatus and Methods For Indexing Multimedia Content
US20130339369A1 (en) Search Method and Apparatus
US9940355B2 (en) Providing answers to questions having both rankable and probabilistic components
WO2019049001A1 (en) System and method for recommendation of terms, including recommendation of search terms in a search system
CN110362593B (en) Data query method, device, equipment and storage medium
CN110532371B (en) Full-text retrieval method and device based on configuration management database and electronic equipment
US20140019454A1 (en) Systems and Methods for Caching Data Object Identifiers
US9792355B2 (en) Searches for similar documents
US20150379070A1 (en) Query Generation System for an Information Retrieval System
US11074266B2 (en) Semantic concept discovery over event databases
De Melo et al. Searching the web of data
CN114139040A (en) Data storage and query method, device, equipment and readable storage medium
CN110008407B (en) Information retrieval method and device
US11055269B2 (en) Efficient ingest and search of access controlled records
CN102799645A (en) Security search device and method
CN111639099A (en) Full-text indexing method and system
CN112883143A (en) Elasticissearch-based digital exhibition searching method and system
US20130091166A1 (en) Method and apparatus for indexing information using an extended lexicon
CN110188301A (en) Information aggregation method and device for website
CN117688140B (en) Document query method, device, computer equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant