CN109783737A - Information retrieval method, device, computer equipment and storage medium - Google Patents

Information retrieval method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109783737A
CN109783737A CN201910047007.1A CN201910047007A CN109783737A CN 109783737 A CN109783737 A CN 109783737A CN 201910047007 A CN201910047007 A CN 201910047007A CN 109783737 A CN109783737 A CN 109783737A
Authority
CN
China
Prior art keywords
information
target
interface
recommendation
list
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
Application number
CN201910047007.1A
Other languages
Chinese (zh)
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910047007.1A priority Critical patent/CN109783737A/en
Publication of CN109783737A publication Critical patent/CN109783737A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of information retrieval method, device, computer equipment and storage mediums, wherein the information retrieval method includes: the information inquiring request that the preset instructions interface obtained from Software Development Tools is sent;Default search library is inquired based at least one information key, obtains recommendation information list;Show that recommendation information list, recommendation information list include at least one set of recommendation information, each group of recommendation information includes proposed topic and topic links corresponding with proposed topic path;It obtains the theme that Software Development Tools is sent and checks request;It jumps to the corresponding topic links path of target topic and obtains target query information, target query information is shown in information display interface.This method encounters problems in software development process conducive to developer can be realized problem retrieval in Software Development Tools in time, improves developer in the problems in exploitation software process and solves efficiency.

Description

Information retrieval method, device, computer equipment and storage medium
Technical field
The present invention relates to field of software development more particularly to a kind of information retrieval method, device, computer equipment and storages Medium.
Background technique
Software developer can inevitably encounter various difficulties in using Software Development Tools progress software development process and ask Topic, existing solution are various on-line search engines to be opened after starting browser, for example Google or Baidu etc. input problem Description, to obtain the solution of on-line search engine offer.
The implementation process of above-mentioned solution is tediously long, so that developer cannot solve a problem promptly after encountering problems, shadow Ring the efficiency of software development.The efficiency solved the problems, such as how is improved in software development process becomes urgent problem to be solved.
Summary of the invention
The embodiment of the present invention provides a kind of information retrieval method, device, computer equipment and storage medium, to solve soft The problem of solving the problems, such as efficiency is improved in part development process.
A kind of information retrieval method, comprising:
The information inquiring request that the preset instructions interface from Software Development Tools is sent is obtained, information inquiring request includes At least one information key;
Default search library is inquired based at least one information key, obtains recommendation information list, recommendation information list packet At least one set of recommendation information is included, each group of recommendation information includes proposed topic and topic links corresponding with proposed topic path;
According to default display rule, recommendation information list is shown in the information display interface of Software Development Tools;
It obtains the theme that Software Development Tools is sent and checks request, theme checks what request carrying was determined based on proposed topic Target topic;
The corresponding topic links path of target topic is jumped to, target query information is obtained, target query information is being believed Breath display interface is shown.
A kind of information indexing device, comprising:
Inquiry request module is obtained, for obtaining the information inquiry sent from the preset instructions interface in Software Development Tools Request, information inquiring request includes at least one information key;
Recommendation list module is obtained, for inquiring default search library based at least one information key, obtains recommendation List is ceased, recommendation information list includes at least one set of recommendation information, and each group of recommendation information includes proposed topic and lead with recommendation Inscribe corresponding topic links path;
Show recommendation list module, it is aobvious in the information display interface of Software Development Tools for showing rule according to default Show recommendation information list;
Request module is checked in acquisition, and the theme for obtaining Software Development Tools transmission checks request, and theme checks request Carry the target topic determined based on proposed topic;
Query formation module is obtained, for jumping to the corresponding topic links path of target topic, obtains target query letter Breath, target query information is shown in information display interface.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing The computer program run on device, the processor realize above- mentioned information search method when executing the computer program.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter Above- mentioned information search method is realized when calculation machine program is executed by processor.
Above- mentioned information search method, device, computer equipment and storage medium, by voluntarily being carried in Software Development Tools Preset instructions interface can obtain information inquiring request, and based at least one information key in the request in default retrieval Accordingly target query information can be inquired in library, and shows the target query information in preset information display interface, be conducive to Developer encounters problems in software development process can be realized problem retrieval in Software Development Tools in time, without separately It opens browser and inputs the information key of relevant issues, improve developer in the problems in exploitation software process and solve effect Rate;Meanwhile the target topic selected in recommendation information list based on developer provides corresponding target query information, is conducive to Accurate problem query result is provided to developer.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the application environment schematic diagram of information retrieval method in one embodiment of the invention;
Fig. 2 is the flow chart of information retrieval method in one embodiment of the invention;
Fig. 3 is another flow chart of information retrieval method in one embodiment of the invention;
Fig. 4 is another flow chart of information retrieval method in one embodiment of the invention;
Fig. 5 is another flow chart of information retrieval method in one embodiment of the invention;
Fig. 6 is another flow chart of information retrieval method in one embodiment of the invention;
Fig. 7 is the schematic diagram of information indexing device in one embodiment of the invention;
Fig. 8 is the schematic diagram of computer equipment in one embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Information retrieval method provided in an embodiment of the present invention can be applicable in the application environment such as Fig. 1, the information retrieval side Method is applied in information retrieval system, which includes client and server, wherein client by network with Server is communicated.Client is also known as user terminal, refers to corresponding with server, provides the journey of local service for client Sequence.The client it is mountable but be not limited to various personal computers, laptop, smart phone, tablet computer and portable In the computer equipments such as formula wearable device.Server can use the service of the either multiple server compositions of independent server Device cluster is realized, disposing the Software Development Tools in the present embodiment.
In one embodiment, as shown in Fig. 2, providing a kind of information retrieval method, the service in Fig. 1 is applied in this way It is illustrated, includes the following steps: for device
S10. the information inquiring request that the preset instructions interface from Software Development Tools is sent, information inquiring request are obtained Including at least one information key.
Wherein, Software Development Tools is the computer based tool for assisting software development life-cycle processes.It is logical The Software Development Tools can often be designed and Implemented to support specific software engineering method, reduce the negative of manual mode management Load.As software engineering method, attempt to allow soft project more systematicization, the type of tool includes supporting individual task Tool and the tool for including entire Development Life Cycle.
In the present embodiment, Software Development Tools may include Code Edit interface and information display interface.Code Edit interface Information inquiring request, information display interface are initiated in time for receiving the problem of encountering when developer is write based on current code The target query information returned for display server based on information inquiring request.
Generally, the needs that developer carries out written in code simultaneously in order to balance and problem is checked, can show information The right side of Software Development Tools is arranged in interface.Preferably, being associated with for information inquiring request and browser can also be established, clothes are worked as When business device receives the information inquiring request that developer initiates from Software Development Tools, it can be embedded on the right side of Software Development Tools Or browser is in addition excited, to show the corresponding target query information returned of the information inquiring request by browser.
Preset instructions interface is the Code Edit interface for being preset in Software Development Tools, the letter of accessible information keyword Cease interface (namely position of input information), the including but not limited to frame retrieval of the menu area of Software Development Tools, Code Edit The menu bar etc. that the associated frame retrieval of right button or receivable input information key are inquired on interface.
Information inquiring request is the request inquired the information key of preset instructions interface input.
Information key is that user inputs from preset instructions interface, or selects from the Code Edit interface of Software Development Tools In information to be checked, for example, one section of code that developer chooses from Code Edit interface is information key.
Specifically, the realization of preset instructions interface access information editing interface is illustrated by taking Android Studio platform as an example Process: Android Studio platform is that Google releases an Android Integrated Development Tool, provides integrated Android Developing instrument is for developing and debugging.
Android Studio platform provides multiple preset instructions interfaces for being used to receive information inquiry instruction, in this implementation Example, the preset instructions that developer can provide according to the selected toolbar generated by right mouse button of needs for actually writing code Interface, the search box preset instructions interface provided of menu bar or the preset instructions interface provided in information display interface.
Further, after developer chooses code to be retrieved at the Code Edit interface of Software Development Tools, user At Code Edit interface by clicking the toolbar that right mouse button triggering includes multiple preset instructions interfaces, user is in toolbar Information inquiring request is chosen, server obtains information inquiring request, and the code to be retrieved that developer is chosen is as information Keyword.
In step S10, server is ready to receive at least one information by the preset instructions interface of Software Development Tools Keyword is retrieved by addition opening searched page without user, simplifies the process of retrieval information, improve recall precision.
S20. default search library is inquired based at least one information key, obtains recommendation information list, recommendation information column Table includes at least one set of recommendation information, and each group of recommendation information includes proposed topic and topic links corresponding with proposed topic road Diameter.
Wherein, default search library is the database that can be used for retrieving information key with the preset instructions interface conjunctionn, Including but not limited to local search library and on-line search engine.Local search library can be the data branch of the support Software Development Tools Packet is held, on-line search engine includes but is not limited to the Usual Search Engines such as Baidu, Google or search dog search.
Recommendation information list is that server is retrieved by default search library, includes the corresponding recommendation of information key Information is formed by list.
Every group of recommendation information includes proposed topic (theme line including information key) and topic links path.
Topic links path is path source corresponding in proposed topic, can be network address and is also possible to server local The storage address of information corresponding with information key in file.
Specifically, server is based on information key and searches local search library or on-line search engine, and obtaining includes the letter The recommendation information for being such as appointed as 100 groups for ceasing keyword wins the sentence in each group of recommendation information including information key As proposed topic, using the corresponding information source of the recommendation information as topic links path.
In step S20, server can include that local search library and on-line search engine etc. are default according to information key Recommendation information list is obtained in search library, expands range of search, is selected conducive to search result abundant is provided to developer It selects and checks.
S30. according to default display rule, recommendation information list is shown in the information display interface of Software Development Tools.
Specifically, server can carry out each group of recommendation information in the recommendation information list according to default display rule It is shown after sequence.Wherein, presetting display rule includes but is not limited to exclude the retrieval information of duplicate contents, by recommendation information It is ranked up with the comparison degree of correlation of information key, or is ranked up according to the reference number of recommendation information etc. that search obtains And it shows.
Further, each proposed topic and the associated topic links path of the proposed topic are formed hyperlink by server Connect, to developer click the proposed topic formed theme check request when, jump to the associated theme chain of the proposed topic Connect the corresponding interface in path.
In step S30, server can be shown in information display interface including proposed topic and master corresponding with proposed topic The recommendation information list for inscribing link path, after selecting proposed topic to be viewed in information display interface conducive to developer, clothes Business device can jump to corresponding interface according to the associated theme connection path of the proposed topic, accelerate displaying target and inquire content Display speed;Meanwhile each recommendation information only shows proposed topic, several recommendation informations can be formed the information simplified and mentioned The mode of showing is pushed to client and is checked and selected.
Preferably, in step s 30, i.e., aobvious in the information display interface of Software Development Tools according to default display rule Show recommendation information list, specifically comprise the following steps: to obtain recommendation information list, according to default display rule display recommendation information List, and information key is highlighted in each recommendation information.
Wherein, presetting display rule is to show each push away after being handled each proposed topic in recommendation information list The display methods of theme is recommended, processing mode includes but is not limited to exclude the retrieval information of duplicate contents, by recommendation information and information The comparison degree of correlation of keyword is ranked up, or is ranked up and is shown according to the reference number of recommendation information etc. that search obtains Deng.
Specifically, the retrieval information for excluding duplicate contents is by any two proposed topic in recommendation information list Content comparison is carried out, duplicate proposed topic is removed and only retains what an associated recommendation theme was realized.
Server is by each information key in the recommendation information list shown by default display rule, specifically with height The modes such as bright mode or the font color for changing information key are to highlight information key.
In this step, server can be optimized the recommendation information list that preliminary search obtains by default display rule, The consequently recommended information list obtained after optimization is pushed to client, and information key is highlighted, is conducive to visitor Family end obtains in time removes duplicate message with the maximally related retrieval content of information key, optimization search result, improves retrieval letter Cease matching degree.
S40. it obtains the theme that Software Development Tools is sent and checks request, it is true based on proposed topic that theme checks that request is carried Fixed target topic.
Wherein, theme checks that request is that user is therein based on selecting at least one set of recommendation information at information retrieval interface One group of proposed topic carries out the request that details is checked as target topic.
In step S40, server can extract the target topic that theme is checked in request, be based on the target for subsequent server Theme obtains corresponding topic links path preparation techniques basis.
S50. the corresponding topic links path of target topic is jumped to, target query information is obtained, by target query information It is shown in information display interface.
Wherein, target query information be based on the specifying information about information key stored on topic links path, The information can be stored in the information in server local retrieval course, be also possible to obtain after on-line search engine search The information provided on specific website.
Specifically, server can directly obtain in the database target master based on target topic obtained in step S40 It inscribes corresponding topic links path directly to be jumped, be shown with obtaining corresponding target query information, it is straight convenient for user Ground is seen on information display interface, can check search result corresponding with information key, raising solves the problems, such as developer's Efficiency reduces the process and time in addition opening that interface is checked.
In information retrieval method provided in this embodiment, server passes through the default finger voluntarily carried in Software Development Tools Enable interface that can obtain information inquiring request, and based at least one information key in the information inquiring request in default retrieval Corresponding target query information is inquired in library, and shows that the target query is believed in the information display interface of Software Development Tools Breath encounters problems in software development process conducive to developer and problem retrieval can be realized in Software Development Tools in time, Without separately opening browser and inputting the information keys of relevant issues, developer's asking in exploitation software process is improved The key to exercises is determined efficiency;Meanwhile the target topic selected in recommendation information list based on developer provides corresponding target query Information, conducive to accurate problem query result is provided to developer.
In one embodiment, as shown in figure 3, before step S10, that is, the default finger from Software Development Tools is being obtained Before the information inquiring request for enabling interface send, which further includes following steps:
S101. interface facility library is obtained, interface facility library includes instruction input interface list and information display position list.
Wherein, interface facility library is all interface facilities that selection is carried out for developer that Software Development Tools provides Set, for example, developer can need to select the edit tool or preset instructions interface work at Code Edit interface according to exploitation Tool etc..
Instruction input interface list is the list formed by the available interface facility of all Software Development Tools.
Information display position is being associated with interface facility for Software Development Tools offer, the processing knot of display interface tool The position of fruit.It is to be appreciated that information display position list is the available information display position shape of all Software Development Tools At list.
In step S101, the interface facility library that server can obtain Software Development Tools offer is supplied to developer, benefit Exploitation is based in developer to need, and the interface facility in input interface list is instructed in flexible choice interface facility library, and show Show in the designated position of Software Development Tools, so that software development process is more bonded demand, developer can be solved in time and encountered The problem of.
S102. input interface list and information display position list based on instruction obtains destination display area and at least one Each target instruction target word interface and destination display area are associated by a target instruction target word interface, so that destination display area conduct Information display interface, using each target instruction target word interface as preset instructions interface.
Wherein, destination display area is that server receives client based on the display selected in information display position list The position of input interface.
Target instruction target word interface is the target instruction target word that server receives that client is selected in input interface list based on instruction Interface, including but not limited to the right button instruction interface at Code Edit interface, the retrieval input interface or software on menu editing column are opened The order button etc. of hair tool avris.
Specifically, all target instruction target word interfaces and destination display area that client is selected are established hyperlink by server, To realize that client inputs preset instructions in any target instruction target word interface, the preset instructions can be shown in destination display area Implementing result.
In step S102, server client-based can be selected, and corresponding position provides pre- in Software Development Tools If instruction interface, and the implementing result of preset instructions interface is shown in designated position, developer is improved in exploitation software process Middle calling interface and the personal settings ability shown improve exploitation effect to meet the Code Edit habit of different developers Rate.
For step S101 into S102, server can be by interface facility library that Software Development Tools provides to developer, benefit Exploitation is based in developer to need, and the interface facility in input interface list is instructed in flexible choice interface facility library, and show Show in the designated position of Software Development Tools, so that software development process is more bonded demand, developer can be solved in time and encountered The problem of.Server client-based can select the corresponding position in Software Development Tools to provide preset instructions interface, and The implementing result of preset instructions interface is shown in designated position, is improved developer and calling interface and is shown in exploitation software process The personal settings ability shown improves development efficiency to meet the Code Edit habit of different developers.
In one embodiment, as shown in figure 4, in step S20, i.e., based on the default inspection of at least one information key inquiry Suo Ku obtains recommendation information list, specifically comprises the following steps:
S21. default search library is inquired based at least one information key, obtain preset quantity recommendation information and with push away Recommend the corresponding browsing frequency of information.
Wherein, preset quantity refers to the quantity of regular inspection rope proposed topic corresponding with information key, and server need to specify Quantity is retrieved, expends query time too long to avoid retrieving.
Browsing frequency is each recommendation information corresponding browsing time within the unit time.Recommendation for server local Information, server can give each recommendation information additional browsing label, and each recommendation information is chosen to jump to corresponding theme When link path, 1 can be added to the browsing label of the recommendation information;It, can be based on professional net for the recommendation information that web search arrives Reference of the retrieval data provided of standing as browsing frequency.
In step S21, server can retrieve the recommendation of preset quantity based on information key in default search library Breath is subsequent server based on recommendation information and the corresponding browsing frequency of the recommendation information retrieved to control retrieval time Determine the display format preparation techniques basis of each recommendation information.
S22. the comparison similarity of the proposed topic of any two recommendation information is obtained.
Wherein, comparison similarity is the value of the corresponding proposed topic similarity degree of any two recommendation information.In step 22, Server can obtain the comparison similarity of any two recommendation information, filter out retainable push away based on comparison similarity to be subsequent Recommend theme preparation techniques basis.
Specifically, the comparison similarity that SimHash algorithm obtains the proposed topic of two recommendation informations can be used in server. SimHash is the text similarity measurement algorithm of Google's exploitation, is the byte that a document can be converted into 64, then by sentencing The Hamming distance of disconnected two bytes determines the comparison similarity of two proposed topics.
Hamming distance is with the naming of Richard's Wei Sili Hamming.In information theory, two isometric characters Hamming distance between string is the number of the kinds of characters of two character string corresponding positions.That is, it is exactly by a character string It is transformed into the character number replaced required for another character string.Such as:
Hamming distance between 1011101 and 1001001 is 2.
Hamming distance between " toned " and " roses " is 3.
Illustrate the reality that the comparison similarity of proposed topic of two recommendation informations is obtained by using SimHash algorithm Existing process:
Server calculates separately the corresponding SimHash of each proposed topic first:
1. extracting document keyword obtains [word, weight] this array.(citing [U.S., 4])
2. word to be switched to the character string [hash (word), weight] of the binary value of regular length with hash algorithm. (citing [100101,4])
3. the hash of word from left to right with multiplied by weight, if it is 1 multiplied by 1, if it is if 0 once with -1.(citing 4,-4,-4,4,-4,4)
4. then calculating lower number, has been calculated until by all words obtained that segment, then obtain each word third step Each of array value be added, that obtain is exactly the corresponding SimHash of each proposed topic.(the citing U.S. and 51st area, [4 ,-4 ,-4,4 ,-4,4] and [5-5 5-5 5 5] obtain [9-9 1-1 1 9])
5. each value judges in the array obtained to the 4th step, if > 0 is denoted as 1, if < 0 is denoted as 0.It (lifts Example [101011])
After the proposed topic of two different lengths is converted to the SimHash value of same length by server, can be calculated Hamming distance between one proposed topic and second proposed topic.In in the example above, the Chinese if it exists in 6 bits Prescribed distance < 3, namely there are two digits below are not identical, then can determine that two groups of proposed topics are that similarity is high, in six Four or more numbers are identical, namely extrapolate the comparison similarity of two proposed topics and be approximately more than 65% and can regard as two and push away It is similar to recommend theme.
In step S22, the comparison that SimHash algorithm obtains the proposed topic of any two recommendation information is can be used in server Similarity is subsequent server based on recommendation information and each recommendation of the corresponding browsing frequency decision of the recommendation information retrieved The display format preparation techniques basis of information.
If S23. comparison similarity is greater than default similarity threshold, retain the browsing higher recommendation information of frequency.
Wherein, default similarity threshold is the minimum value that server can retain two proposed topics simultaneously.It can by step S22 Know, in the present embodiment, 65% or more can be set by default similarity threshold.
In step S23, server can retain the browsing higher recommendation of frequency in similar two proposed topics of height Breath can also provide clients with the higher recommendation information of reference value, optimization retrieval effect while removing duplicate information Rate.
If S24. comparison similarity is not more than default similarity threshold, retain two recommendation informations.
In step S24, server can retain similarity and be not more than two proposed topics of default similarity threshold to client End provides abundant comprehensive retrieval information.
For step S21 into S24, server can retrieve the recommendation of specified quantity based on information key in default search library Information is subsequent server based on recommendation information and the corresponding browsing frequency of the recommendation information retrieved to control retrieval time Rate shows each recommendation information preparation techniques basis.Server can be used SimHash algorithm and obtain any two recommendation information The comparison similarity of proposed topic is subsequent server based on recommendation information and the corresponding browsing frequency of the recommendation information retrieved Rate determines the display format preparation techniques basis of each recommendation information.Server can be protected in similar two proposed topics of height Stay the browsing higher recommendation information of frequency that it is higher can also to provide clients with reference value while removing duplicate information Recommendation information, optimize recall precision.Server can retain two proposed topics that similarity is not more than default similarity threshold Provide clients with abundant comprehensive retrieval information.
In one embodiment, as shown in figure 5, after step S50, i.e., by target query information in information display interface After being shown, information retrieval method further includes following steps:
S501. the information duplicate requests that Software Development Tools is sent are obtained, information duplicate requests include being based on target query The target Copy Info that information determines.
Wherein, information duplicate requests are the target queries that developer that server receives chooses in information display interface The some or all of request replicated in information.
Target Copy Info is part or complete of the developer in the target query information that information display interface is chosen Portion's information.
In step S501, server can obtain the target Copy Info carried in information duplicate requests, be subsequent server The insertion position for obtaining the target Copy Info carries out content insertion preparation techniques basis.
S502. information stickup request is obtained, information stickup request includes that paste position identifies.
Wherein, to be server be inserted into designated position for the target duplicate requests selected in step S501 for information stickup request Request.
Paste position mark is the station location marker that target reproducting content is inserted into designated position, specifically, paste position Mark can pass through Selection object acquisition range of text or the position of insertion symbol.Selection object is present in window On object, server can obtain paste position mark by window.getSelection () method.
In step 502, server can extract information stickup request in paste position mark, for it is subsequent will be in step S501 Obtained target Copy Info is inserted into paste position and identifies corresponding position preparation techniques basis.
S503. it is identified based on paste position and determines target duplicating position, target Copy Info is inserted into target duplication position It sets.
In step S503, target Copy Info can be pasted paste position and identify corresponding target duplication position by server It sets, realizes the function of looking into i.e., save developer for the target query information inquired and be manually entered into target duplication position The time set.
For step S501 into S503, server can obtain the target Copy Info carried in information duplicate requests, be subsequent The insertion position that server obtains the target Copy Info carries out content insertion preparation techniques basis.Server can replicate target Information stickup identifies corresponding target duplicating position to paste position, realizes the function of looking into i.e., and saving developer will look into The target query information ask is manually entered into the time of target duplicating position.
In one embodiment, it as shown in fig. 6, after step S503, i.e., answers target Copy Info is inserted into target After position processed, information retrieval method further includes following steps:
S5031. it will be determined as information doubling time the current time in system, and be based on information doubling time and topic links road Diameter obtains information annotation corresponding with target Copy Info.
Wherein, information annotation be developer for the ease of other staff understand the code logic of corresponding part and in software The annotation recorded in exploitation code is not involved in the compilation process of program.
Specifically, server can obtain system by the currentTimeMillis tool in included System class Current time is as information doubling time.
In step S5031, server will can be generated in time to the target Copy Info newly increased with information doubling time With the information annotation of information duplication source (topic links path), target Copy Info is understood in time conducive to each developer Details are realized and automate the ability for generating information and annotating in software development process.
S5032., information annotation is inserted into the designated position of target Copy Info.
In step S5032, server can the information that automatically generates step S5032 of the setting based on developer annotate and insert Enter to the position closed on target Copy Info, for example, the lower section etc. of all target Copy Infos, is convenient for developer by target Copy Info and information annotation carry out correspondence and check.
Into S5032, server can be answered generating in time to the target Copy Info newly increased with information step S5031 The information of time processed and information duplication source (topic links path) annotation understands target duplication conducive to each developer in time The details of information are realized and automate the ability for generating information and annotating in software development process.Server can be based on developer's It is arranged and the information annotation that step S5032 is automatically generated is inserted into the position closed on target Copy Info, for example, all target Target Copy Info and information annotation are carried out correspondence convenient for developer and checked by the lower section etc. of Copy Info.
In information retrieval method provided in this embodiment, server passes through the default finger voluntarily carried in Software Development Tools It enables interface that can obtain information inquiring request, and can be looked into default search library based at least one information key in the request Accordingly target query information is ask, and shows the target query information in preset information display interface, is conducive to developer It encounters problems in software development process and problem retrieval can be realized in Software Development Tools in time, without separately opening browsing Device and the information key for inputting relevant issues improve developer in the problems in exploitation software process and solve efficiency;Meanwhile Corresponding target query information is provided based on the target topic that developer selectes in recommendation information list, is conducive to exploit person Member provides accurate problem query result.
Further, the interface facility library that server can obtain Software Development Tools offer is supplied to developer, is conducive to Developer is based on exploitation and needs, and the interface facility in input interface list is instructed in flexible choice interface facility library, and show In the designated position of Software Development Tools, so that software development process is more bonded demand, it can solve in time what developer encountered Problem.Server can client-based selection corresponding position in Software Development Tools preset instructions interface is provided, and Designated position shows the implementing result of preset instructions interface, improves developer and calling interface and shows in exploitation software process Personal settings ability, with meet different developers Code Edit habit, improve development efficiency.
Further, server can retrieve the recommendation information of specified quantity based on information key in default search library, It is that subsequent server is determined based on recommendation information and the corresponding browsing frequency of the recommendation information retrieved to control retrieval time The display format preparation techniques basis of each recommendation information.Server can be used SimHash algorithm and obtain any two recommendation The comparison similarity of the proposed topic of breath is that subsequent server is corresponding clear based on recommendation information and the recommendation information retrieved Frequency of looking at determines the display format preparation techniques basis of each recommendation information.Server can be in similar two proposed topics of height The middle reservation browsing higher recommendation information of frequency can also provide clients with reference value while removing duplicate information Higher recommendation information optimizes recall precision.Server can retain two recommendations that similarity is not more than default similarity threshold Theme provides clients with abundant comprehensive retrieval information.
Further, server can obtain the target Copy Info carried in information duplicate requests, obtain for subsequent server The insertion position for obtaining the target Copy Info carries out content insertion preparation techniques basis.Server can paste target Copy Info Corresponding target duplicating position is identified to paste position, realizes the function of looking into i.e., saves the mesh that developer will inquire Mark query information is manually entered into the time of target duplicating position.
Further, server will can generate in time to the target Copy Info newly increased with information doubling time and letter The information annotation of breath duplication source (topic links path), understands the detailed of target Copy Info conducive to each developer in time Feelings are realized and automate the ability for generating information and annotating in software development process.Server can the setting based on developer will walk The information annotation that rapid S5032 is automatically generated is inserted into the position closed on target Copy Info, for example, all target Copy Infos Lower section etc., target Copy Info and information annotation are subjected to correspondence convenient for developer and checked.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
In one embodiment, a kind of information indexing device is provided, information is examined in the information indexing device and above-described embodiment Suo Fangfa is corresponded.As shown in fig. 7, the information indexing device includes obtaining inquiry request module 10, obtaining recommendation list mould Block 20, display recommendation list module 30 obtain and check request module 40 and acquisition query formation module 50.Each functional module is detailed It is described as follows:
Inquiry request module 10 is obtained, is looked into for obtaining from the information that the preset instructions interface in Software Development Tools is sent Request is ask, information inquiring request includes at least one information key.
Recommendation list module 20 is obtained, for inquiring default search library based at least one information key, obtains and recommends Information list, recommendation information list include at least one set of recommendation information, each group of recommendation information include proposed topic and with recommendation The corresponding topic links path of theme.
Recommendation list module 30 is shown, for showing rule according to default, in the information display interface of Software Development Tools Show recommendation information list.
Request module 40 is checked in acquisition, and the theme for obtaining Software Development Tools transmission checks request, and theme, which is checked, asks Seek the target topic for carrying and determining based on proposed topic.
Query formation module 50 is obtained, for jumping to the corresponding topic links path of target topic, obtains target query Information shows target query information in information display interface.
Preferably, which further includes obtaining interface facility library module 101 and acquisition target instruction target word module 102。
Interface facility library module 101 is obtained, for obtaining interface facility library, interface facility library includes instruction input interfaces column Table and information display position list.
Target instruction target word module 102 is obtained, input interface list and information display position list based on instruction is used for, obtains mesh Display area and at least one target instruction target word interface are marked, each target instruction target word interface and destination display area are associated, with Make destination display area as information display interface, using each target instruction target word as preset instructions interface.
Preferably, obtaining recommendation list module includes obtaining recommendation information unit, obtaining comparison similarity unit, similarity It is not more than threshold cell greater than threshold cell and similarity.
Recommendation information unit is obtained, for inquiring default search library based at least one information key, obtains present count The recommendation information of amount and browsing frequency corresponding with recommendation information.
Obtain comparison similarity unit, the comparison similarity of the proposed topic for obtaining any two recommendation information.
Similarity is greater than threshold cell, if being greater than default similarity threshold for comparing similarity, retains browsing frequency Higher recommendation information.
Similarity is not more than threshold cell, if being not more than default similarity threshold for comparing similarity, retains two Recommendation information.
Preferably, display recommendation list module further includes obtaining information list module.
Information list module is obtained, for obtaining recommendation information list, according to default display rule display recommendation information column Table, and information key is highlighted in each recommendation information.
Preferably, which further includes obtaining copy request module, obtaining and paste request module and insertion mesh Cursor position module.
Copy request module is obtained, for obtaining the information duplicate requests of Software Development Tools transmission, information duplicate requests Including the target Copy Info determined based on target query information.
It obtains and pastes request module, for obtaining information stickup request, information stickup request includes that paste position identifies.
It is inserted into target position module, target duplicating position is determined for identifying based on paste position, by target Copy Info It is inserted into target duplicating position.
Preferably, which further includes obtaining information annotation unit and insertion designated position unit.
Information annotation unit is obtained, for information doubling time will to be determined as the current time in system, when based on information duplication Between and topic links path, obtain corresponding with target Copy Info information and annotate.
It is inserted into designated position unit, for information annotation to be inserted into the designated position of target Copy Info.
Specific about information indexing device limits the restriction that may refer to above for information retrieval method, herein not It repeats again.Modules in above- mentioned information retrieval device can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal structure Figure can be as shown in Figure 8.The computer equipment includes processor, the memory, network interface sum number connected by system bus According to library.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory of the computer equipment includes Non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is used for the relevant data of information retrieval method.The network interface of the computer equipment is used for and external end End passes through network connection communication.To realize a kind of information retrieval method when the computer program is executed by processor.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory and can The computer program run on a processor, processor realize above-described embodiment information retrieval method when executing computer program, Such as S10 shown in Fig. 2 to step S50.Alternatively, processor realizes that information retrieval fills in above-described embodiment when executing computer program The function for each module/unit set, such as module 10 shown in Fig. 7 is to the function of module 50.It is no longer superfluous herein to avoid repeating It states.
In one embodiment, a kind of computer readable storage medium is provided, computer program, computer journey are stored thereon with Above-described embodiment information retrieval method is realized when sequence is executed by processor, such as S10 shown in Fig. 2 to step S50.Alternatively, the meter The function of each module/unit in information indexing device in above-mentioned apparatus embodiment, example are realized when calculation machine program is executed by processor Module 10 as shown in Figure 7 to module 50 function.To avoid repeating, details are not described herein again.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, it is readable which can be stored in a non-volatile computer It takes in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, this Shen Please any reference used in each embodiment to memory, storage, database or other media, may each comprise non-volatile And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or Replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all include Within protection scope of the present invention.

Claims (10)

1. a kind of information retrieval method characterized by comprising
The information inquiring request that the preset instructions interface from Software Development Tools is sent is obtained, the information inquiring request includes At least one information key;
Default search library is inquired based on information key described at least one, obtains recommendation information list, the recommendation information column Table includes at least one set of recommendation information, and recommendation information described in each group includes proposed topic and master corresponding with the proposed topic Inscribe link path;
According to default display rule, the recommendation information list is shown in the information display interface of the Software Development Tools;
It obtains the theme that the Software Development Tools is sent and checks request, the theme is checked that request is carried and led based on the recommendation Inscribe determining target topic;
The corresponding topic links path of the target topic is jumped to, target query information is obtained, by the target query information It is shown in the information display interface.
2. information retrieval method as described in claim 1, which is characterized in that pre- from Software Development Tools in the acquisition If before the information inquiring request that instruction interface is sent, the information retrieval method further include:
Interface facility library is obtained, the interface facility library includes instruction input interface list and information display position list;
Based on the list of described instruction input interface and information display position list, destination display area and at least one target are obtained Each target instruction target word interface and the destination display area are associated by instruction interface, so that the target viewing area Domain is as the information display interface, using each target instruction target word as preset instructions interface.
3. information retrieval method as described in claim 1, which is characterized in that described to be based at least one described information key Default search library is inquired, recommendation information list is obtained, comprising:
Default search library is inquired based on information key described at least one, the recommendation information of preset quantity is obtained and is pushed away with described Recommend the corresponding browsing frequency of information;
Obtain the comparison similarity of the proposed topic of recommendation information described in any two;
If the comparison similarity is greater than default similarity threshold, retain the browsing higher recommendation information of frequency;
If the comparison similarity is not more than default similarity threshold, retain two recommendation informations.
4. information retrieval method as described in claim 1, which is characterized in that the default display rule of the foundation, described soft The information display interface of part developing instrument shows the recommendation information list, comprising:
Recommendation information list is obtained, shows the recommendation information list, and each recommendation information according to default display rule In highlight the information key.
5. information retrieval method as described in claim 1, which is characterized in that it is described by the target query information described After information display interface is shown, the information retrieval method further include:
The information duplicate requests that the Software Development Tools is sent are obtained, the information duplicate requests include looking into based on the target Ask the target Copy Info that information determines;
Information stickup request is obtained, the information stickup request includes that paste position identifies;
It is identified based on the paste position and determines target duplicating position, the target Copy Info is inserted into the target and is replicated Position.
6. information retrieval method as claimed in claim 5, which is characterized in that be inserted into the target Copy Info described After the target duplicating position, the information retrieval method further include:
It will be determined as information doubling time the current time in system, and be based on the information doubling time and the topic links path, Obtain information annotation corresponding with the target Copy Info;
Information annotation is inserted into the designated position of the target Copy Info.
7. a kind of information indexing device characterized by comprising
Inquiry request module is obtained, is asked for obtaining the information inquiry sent from the preset instructions interface in Software Development Tools It asks, the information inquiring request includes at least one information key;
Recommendation list module is obtained, for inquiring default search library based at least one described information key, obtains recommendation Cease list, the recommendation information list includes at least one set of recommendation information, recommendation information described in each group include proposed topic and Topic links corresponding with proposed topic path;
Show recommendation list module, it is aobvious in the information display interface of the Software Development Tools for showing rule according to default Show the recommendation information list;
Request module is checked in acquisition, checks request for obtaining the theme that the Software Development Tools is sent, the theme is checked Request carries the target topic determined based on the proposed topic;
Query formation module is obtained, for jumping to the corresponding topic links path of the target topic, obtains target query letter Breath, the target query information is shown in the information display interface.
8. information indexing device as claimed in claim 7, which is characterized in that the information indexing device further include:
Interface facility library module is obtained, for obtaining interface facility library, the interface facility library includes instruction input interface list With information display position list;
Target instruction target word module is obtained, for being based on the list of described instruction input interface and information display position list, obtains target Display area and at least one target instruction target word interface, each target instruction target word interface and the destination display area are closed Connection, so that the destination display area connects as the information display interface using each target instruction target word as preset instructions Mouthful.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to Any one of 6 information retrieval methods.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization information retrieval method as described in any one of claim 1 to 6 when the computer program is executed by processor.
CN201910047007.1A 2019-01-18 2019-01-18 Information retrieval method, device, computer equipment and storage medium Pending CN109783737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910047007.1A CN109783737A (en) 2019-01-18 2019-01-18 Information retrieval method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910047007.1A CN109783737A (en) 2019-01-18 2019-01-18 Information retrieval method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109783737A true CN109783737A (en) 2019-05-21

Family

ID=66501555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910047007.1A Pending CN109783737A (en) 2019-01-18 2019-01-18 Information retrieval method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109783737A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110265091A (en) * 2019-06-26 2019-09-20 王乔健 Chemical information querying method, device and electron chemistry dictionary
CN110404253A (en) * 2019-07-31 2019-11-05 网易(杭州)网络有限公司 Interface data acquisition methods and device, electronic equipment, storage medium
CN110647331A (en) * 2019-08-02 2020-01-03 平安科技(深圳)有限公司 Development tool acquisition method and device, storage medium and electronic equipment
CN111506740A (en) * 2020-04-14 2020-08-07 天津洪恩完美未来教育科技有限公司 Word list adding method and device, storage medium and electronic device
CN112099837A (en) * 2020-09-11 2020-12-18 山东浪潮通软信息科技有限公司 Software development support method, device and readable medium
CN112230809A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 Method and device for selecting computer program code and storage medium
CN113656022A (en) * 2021-10-20 2021-11-16 深圳市蓝凌软件股份有限公司 Software development method and device, computer equipment and storage medium
CN113987355A (en) * 2021-11-01 2022-01-28 杭州达西信息技术有限公司 Intelligent massive information searching system based on keyword recognition and classification
CN116823140A (en) * 2023-04-21 2023-09-29 华腾建信科技有限公司 Project problem information reporting method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055799A1 (en) * 2009-09-01 2011-03-03 Accenture Global Services Limited Collection and processing of code development information
CN105912634A (en) * 2016-04-05 2016-08-31 扬州大学 Software code search oriented query statement regenerating method
CN106407316A (en) * 2016-08-30 2017-02-15 北京航空航天大学 Topic model-based software question and answer recommendation method and device
CN108255709A (en) * 2017-12-26 2018-07-06 平安壹钱包电子商务有限公司 Script tests method, apparatus, terminal device and the storage medium of written in code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055799A1 (en) * 2009-09-01 2011-03-03 Accenture Global Services Limited Collection and processing of code development information
CN105912634A (en) * 2016-04-05 2016-08-31 扬州大学 Software code search oriented query statement regenerating method
CN106407316A (en) * 2016-08-30 2017-02-15 北京航空航天大学 Topic model-based software question and answer recommendation method and device
CN108255709A (en) * 2017-12-26 2018-07-06 平安壹钱包电子商务有限公司 Script tests method, apparatus, terminal device and the storage medium of written in code

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110265091A (en) * 2019-06-26 2019-09-20 王乔健 Chemical information querying method, device and electron chemistry dictionary
CN112230809A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 Method and device for selecting computer program code and storage medium
CN112230809B (en) * 2019-07-15 2023-08-18 腾讯科技(深圳)有限公司 Method, device and storage medium for selecting computer program codes
CN110404253A (en) * 2019-07-31 2019-11-05 网易(杭州)网络有限公司 Interface data acquisition methods and device, electronic equipment, storage medium
CN110647331A (en) * 2019-08-02 2020-01-03 平安科技(深圳)有限公司 Development tool acquisition method and device, storage medium and electronic equipment
CN111506740A (en) * 2020-04-14 2020-08-07 天津洪恩完美未来教育科技有限公司 Word list adding method and device, storage medium and electronic device
CN112099837A (en) * 2020-09-11 2020-12-18 山东浪潮通软信息科技有限公司 Software development support method, device and readable medium
CN112099837B (en) * 2020-09-11 2024-01-26 浪潮通用软件有限公司 Software development support method, device and readable medium
CN113656022A (en) * 2021-10-20 2021-11-16 深圳市蓝凌软件股份有限公司 Software development method and device, computer equipment and storage medium
CN113987355A (en) * 2021-11-01 2022-01-28 杭州达西信息技术有限公司 Intelligent massive information searching system based on keyword recognition and classification
CN116823140A (en) * 2023-04-21 2023-09-29 华腾建信科技有限公司 Project problem information reporting method and system

Similar Documents

Publication Publication Date Title
CN109783737A (en) Information retrieval method, device, computer equipment and storage medium
JP5492187B2 (en) Search result ranking using edit distance and document information
CN109726274B (en) Question generation method, device and storage medium
CN102693309B (en) Candidate phrase querying method and aided translation system for computer aided translation
CN101398810B (en) Self-adapting service choice device and method thereof, enquiry system and method thereof
US7895195B2 (en) Method and apparatus for constructing a link structure between documents
CN110109820A (en) Regression test case determines method, apparatus, computer equipment and storage medium
CN110968695A (en) Intelligent labeling method, device and platform based on active learning of weak supervision technology
JP2009110513A (en) Automatic generation of ontologies using word affinities
Vial et al. UFSAC: Unification of sense annotated corpora and tools
US7089233B2 (en) Method and system for searching for web content
US20230153335A1 (en) Searchable data structure for electronic documents
CN102831131A (en) Method and device for establishing labeling webpage linguistic corpus
CN108829651A (en) A kind of method, apparatus of document treatment, terminal device and storage medium
CN102214183A (en) Search engine query method for combining feedback contents of pages with fixed ranking
US20090234852A1 (en) Sub-linear approximate string match
Liu et al. Technical phrase extraction for patent mining: A multi-level approach
JPH09212353A (en) Method and device for supporting reused design
US20230142351A1 (en) Methods and systems for searching and retrieving information
CN115062619B (en) Chinese entity linking method, device, equipment and storage medium
WO2007129660A1 (en) Static web page generation method, program, recording medium, and static web page generation management system
Zhang et al. Employing topic models for pattern-based semantic class discovery
CN112836021B (en) Intelligent search system of library
Zhang et al. MEGAnno: Exploratory labeling for NLP in computational notebooks
CN114328895A (en) News abstract generation method and device and computer equipment

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190521