CN109325093A - Bibliography automatic generation method, device and computer-readable storage medium - Google Patents

Bibliography automatic generation method, device and computer-readable storage medium Download PDF

Info

Publication number
CN109325093A
CN109325093A CN201810975235.0A CN201810975235A CN109325093A CN 109325093 A CN109325093 A CN 109325093A CN 201810975235 A CN201810975235 A CN 201810975235A CN 109325093 A CN109325093 A CN 109325093A
Authority
CN
China
Prior art keywords
information
bibliography
user
index
code
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
CN201810975235.0A
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.)
Shenzhen Polytechnic
Original Assignee
Shenzhen Polytechnic
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 Shenzhen Polytechnic filed Critical Shenzhen Polytechnic
Priority to CN201810975235.0A priority Critical patent/CN109325093A/en
Publication of CN109325093A publication Critical patent/CN109325093A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses a kind of bibliography automatic generation method, device and computer-readable storage mediums, this method comprises: acquisition user inputs information, it includes code, data that user, which inputs information,;Information is inputted according to user, retrieval bibliography relevant to user's input information, obtains the index information of relevant references in the database;Based on index information, bibliography index is generated.The application can automatically generate relevant bibliography according to the code of user's input, data and index, so that the source of technology, code, data is clear and accurate, copyright structure is clear, and authorization path is clear, the confidence level of article be improved, convenient for delivering.

Description

Bibliography automatic generation method, device and computer-readable storage medium
Technical field
This application involves field of cloud computer technology, more particularly, to a kind of bibliography automatic generation method, device and Computer-readable storage medium.
Background technique
With development in science and technology, science is also being constantly progressive with scientific research, and consequent is the information such as science, technical article It continues to bring out, and in order to increase the convincingness of article, require the basis for quoting forefathers extensively, i.e. bibliography.But it faces The a large amount of public informations increasingly emerged in large numbers, how quickly and effectively to obtain corresponding bibliography is the larger challenge faced at present.
Summary of the invention
In view of this, present applicant proposes a kind of bibliography automatic generation method, device and computer-readable storages Medium, to solve the above problems.
In a first aspect, the embodiment of the present application provides a kind of bibliography automatic generation method, this method comprises: acquisition is used Family inputs information, and it includes code, data that the user, which inputs information,;Information is inputted according to the user, in bibliography data Retrieval bibliography relevant to user input information, obtains the index information of relevant references in library;Based on described Index information generates bibliography index.
Second aspect, the embodiment of the present application provide a kind of bibliography automatically generating device, and described device includes: acquisition Module inputs information for acquiring user, and it includes code, data that the user, which inputs information,;Retrieval module, for according to User inputs information, and the retrieval bibliography relevant to user input information in reference data base obtains related The index information of bibliography;Generation module generates bibliography index for the index information based on acquisition.
The third aspect, the embodiment of the present application provides a kind of computer-readable storage medium, described computer-readable Program code is stored in storage medium, said program code can call the side executed as described in above-mentioned first aspect by processor Method.
Bibliography automatic generation method, device and computer-readable storage medium provided by the embodiments of the present application, first It acquires user and inputs information, which can be code or data;Then retrieval and the user in reference data base The relevant bibliography of information is inputted, and obtains the index information of relevant references;Finally, it is based on the index information, it is raw It is indexed at bibliography.In this way, according to the code or data of user's input, so that it may which automatically retrieval database simultaneously generates phase therewith The bibliography of pass saves the movement of track record bibliography information manually, automatically establishes bibliography index, also The bibliography that can be provided in line generates service, and providing reference for document, project, code and data proves.In the application reality It applies in example, can also further improve database, so that more codes and data obtain should having approval, can correctly be quoted, be had Conducive to copyright battle is avoided, make to authorize path clear.
These aspects or other aspects of the application can more straightforward in the following description.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows the flow diagram of the bibliography automatic generation method of the application first embodiment offer;
Fig. 2 shows the flow diagrams for the bibliography automatic generation method that the application second embodiment provides;
Fig. 3 shows the module frame chart of the bibliography automatically generating device of the application 3rd embodiment offer;
Fig. 4 shows the module frame chart of the bibliography automatically generating device of the application fourth embodiment offer;
Fig. 5 is the automatic according to the bibliography of the embodiment of the present application for saving or carrying realization of the embodiment of the present application The storage unit of the program code of generation method.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
With the arrival in artificial intelligence epoch, the importance of algorithm development highlights further, Open Source Code, public database, Also more gradually become source resource indispensable in algorithm development, the increasingly dependence by research tissue or company.While with Development in science and technology, emerge more and more codes and data, but in daily use, user is often difficult to know code used With the source of data, especially when writing technical documentation or academic article, it is difficult to obtain correct reference information, be unfavorable for The publication of document and delivering for article.
Based on the above issues, inventor has found after carrying out a series of researchs to the existing method for obtaining bibliography, At present when facing code and data, bibliography information can only be recorded by user hand motion tracking, for drawing for bibliography With extremely not convenient, also it is unfavorable for that user is encouraged to improve current bibliography system, this makes the copyright knot of code and data Structure is usually not clear enough, it is difficult to safeguard the equity of author.
In the course of the study, inventor has studied the difficulty for obtaining bibliography index at present, and comprehensively considers and work as Lower society is automatic to the attention of copyright and the unsharp overall situation of copyright structure, the bibliography proposed in the embodiment of the present application Generation method, device and computer-readable storage medium.
It below will be by specific embodiment to bibliography automatic generation method provided by the embodiments of the present application, device, shifting Dynamic terminal and storage medium are described in detail.
First embodiment
Referring to Fig. 1, the process that Fig. 1 shows the bibliography automatic generation method of the application first embodiment offer is shown It is intended to.The bibliography automatic generation method inputs information by acquisition user, and it includes code, data that user, which inputs information, Information is inputted according to user, retrieval bibliography relevant to user's input information, obtains relevant references in the database Index information, and be based on index information, generate bibliography index, the dynamic of track record bibliography manually can be saved Make, bibliography index is automatically established, so that the source of code, data is clear and accurate, convenient for delivering.Specifically implementing In example, the bibliography automatic generation method can be applied to bibliography automatically generating device 300 as shown in Figure 3.
Process shown in FIG. 1 will be explained in detail below.Above-mentioned bibliography automatic generation method is specifically It may comprise steps of:
Step S101: acquisition user inputs information, and it includes code, data that the user, which inputs information,.
In the present embodiment, code can be the source file that the language that programmer's exploitation tool is supported is write out, Such as can be and using Python, C++, Java or other programming languages write out, the text that can be executed in computer Part.Data can be analogue data, comprising sound, image etc., be also possible to numerical data, include symbol, text etc..The application In embodiment, data can be inputted with the form of code, such as can be the code for calling database.
Step S102: information is inputted according to the user, retrieval inputs with the user and believes in reference data base Relevant bibliography is ceased, the index information of relevant references is obtained.
In the present embodiment, reference data base includes code section and data portion, wherein code section includes code With the corresponding relationship of relevant references information, wherein code can be code packet or function library, and the source of code includes at least Following two can be directly acquired from open source website, can also be voluntarily packaged.By to code and relevant references information Association is established, the mapping relations of the two are obtained and is stored in database, constitutes the code section in reference data base.
Correspondingly, data portion includes the corresponding relationship of data and relevant references information, and wherein data can be tune With the code of public database, the source of data includes at least two kinds, can voluntarily packaged data (picture, symbol, text etc.) At database, existing public database can also be arranged, while be associated with the foundation of relevant references information, obtained The mapping relations of the two are simultaneously stored in database, constitute the data portion in reference data base.
It should be noted that code or data are in reference data base, and it is corresponding with relevant references information, it can To be to correspond, may not be, that is to say, that a code field can correspond to multiple bibliography information, while one Bibliography information can correspond to multiple code fields.Similarly, this will not be repeated here for data.
Specifically, the storage of bibliography information includes at least following two, is suitable for using existing standard is disclosed Bib format and CSL (reference formats language) standard of LaTeX.
Specifically, existing open source Websites quantity is more, the websites such as GitHub, GitLab and BitTorrent, Can retrieve a large amount of code packets and its relevant references information on above-mentioned website, thus by open source website obtain code with The related information of bibliography is more convenient.
Retrieval bibliography relevant to user's input information can root as a kind of mode in reference data base Information is inputted according to user, in reference data base, retrieval user inputs information, searches the generation that information matches are inputted with user Code field, to obtain code field bibliography information corresponding in reference data base.
It should be noted that inputting the code field of information matches with user, refers to and input in information and can look in user It is completely the same at least one code field and the code field.Specifically, if user, which inputs in information, a code word Section in retrieving be considered as it is matched, then exist in database of descriptions in a code field and user's input information One code field is completely the same;, whereas if user input none code field of information be considered as it is matched, then say It is completely the same for inputting any one of information code field with user there is no any one code field in bright database 's.
Step S103: being based on the index information, generates bibliography index.
In the present embodiment, after the index information for obtaining relevant references, that is, produce corresponding with user's input information Bibliography index, and user is shown on the display interface of user terminal with disclosed quotation format.
The bibliography automatic generation method that the application first embodiment provides, passes through automatically retrieval reference data base Relevant references index is generated, code, data clearly can be advantageously utilized, automatically establishes bibliography index, nothing Bibliography information need to be tracked and recorded manually, enormously simplified the product process of bibliography index, improved to bibliography Reference efficiency, while facilitating reference, the confidence level of article is improved, convenient for delivering.
Second embodiment
Referring to Fig. 2, Fig. 2 shows the processes of the bibliography automatic generation method of the application second embodiment offer to show It is intended to.It will be explained in detail below for process shown in Fig. 2.Above-mentioned bibliography automatic generation method specifically may be used With the following steps are included:
Step S201: generating and shows that information submits interface.
In the present embodiment, is generated in user terminal and show that information submits interface, it may include following that information, which submits interface, At least one of interface:
Interface is write online, for receiving code, the data of user's input, user is write on the surface Code, data;
Information imports interface, for receiving complete code packet, function library or data set, allow user on the surface It is introduced directly into code packet, function library or the data set write.
Step S202: interface acquisition user is submitted to input information in the information.
As a kind of mode, the code for acquiring user in interface and writing online is being write online, specifically, user can be Code is directly write at the interface, the code write can also be copied directly to the interface, without beating code Packet.
Alternatively, it is imported in interface in information and is introduced directly into code packet, the function library that user has write Or data set.
Step S203: user input information is retrieved in the reference data base, is matched, and is obtained The user inputs the matching result of information and relevant references.
In the present embodiment, information is inputted according to the user acquired in user terminal, retrieves reference data base, specifically , information is inputted for different user, retrieval mode difference.
For example, inputting information for the user write using Python, reference data base is needed to importing (import) code packet is retrieved, that is, is carried out in reference data base to the code packet after keyword import It is retrieved in library.It should be noted that the effect of import sentence is to import specified module (module) in Python programming, Wherein module energy defined function, class, variable can also include executable code.Such as to call sqrt function (square root letter Number), then the sentence of " import math " must be used, introduces module math, wherein sqrt function is packaged in the one of module math A function, whereas if do not do import operation, then can not normal call sqrt function, cause program to be unable to operate normally.
For another example, information inputted for the user that writes using C Plus Plus, reference data base need to comprising (include) header file is retrieved, that is, in reference data base to the header file after keyword include into It is retrieved in row library.It should be noted that in C++ programming, the effect of include sentence is the wherein head comprising specified header file File provides the interface using specified source file for user, other source files can be enabled to access the concrete function of the source file, source Include in file is only concrete implementation code.Such as the library keras (deep learning often uses library) is quoted in C++ code, then " #include " keras model.h must be used " " sentence, source file keras model is introduced, whereas if not doing and including Operation, then can not the library normal call kera, cause program to be unable to operate normally.
The example above is only to input information for the user under two kinds of programming languages of Python, C++ to have carried out retrieval reference Different examples during bibliographic data base, it is to be understood that the embodiment of the present application is suitable for a variety of programming languages, including upper State two kinds of programming languages but not limited to this, the searching principle of other programming languages is similar with the principle of above-mentioned retrieval mode, so Place repeats no more.
Further, after retrieving reference data base, the available bibliography that information matches are inputted with user.
In the present embodiment, obtaining the bibliography for inputting information matches with user further includes, in reference data base The code field that information matches are inputted with user is searched, so that it is determined that matched code field institute in reference data base Corresponding bibliography.It is understood that matching result includes at least the bibliography for inputting information matches with user.
Step S204: according to the matching result, the index information of relevant references is generated.
In the present embodiment, according to the bibliography for inputting information matches with user, the index letter of relevant references is generated Breath.Specifically, index information may include inputting all bibliography of information matches with user in reference data base Index, that is, all matched bibliography can be found in reference data base according to the index information.
As a kind of mode, step S204 may include step S204a and step S204b.
Step S204a: according to the matching result, the bibliography that information matches are inputted with user is judged whether there is.
In the present embodiment, according to matching result, judging result may include:
If there is the bibliography for inputting information matches with user, S204b is thened follow the steps.
If there is no the bibliography for inputting information matches with user, S209 is thened follow the steps.
Step S204b: the index information of relevant references is generated.
In the present embodiment, according to the bibliography for inputting information matches with user, the index letter of relevant references is generated Breath.Specifically, index information may include inputting all bibliography of information matches with user in reference data base Index, that is, all matched bibliography can be found in reference data base according to the index information.
In the present embodiment, step S205 can be carried out after step S204b.
Alternatively, step S204 can not also judge matching result, i.e., do not include step S204a with And step S204b, directly execution step S205.
Step S205: the bibliography quantity for including in the index information is obtained.
In the present embodiment, the bibliography quantity for including in index information can be 1, be greater than 1, or 0, above-mentioned three The bibliography quantity for including in kind index information respectively corresponds different index information generating modes.
It is understood that indicating reference data base when the bibliography quantity for including in index information is 0 In there is no with user input information matches bibliography;When the bibliography quantity for including in index information is 1, i.e. table Show the bibliography in reference data base there is only 1 with user's input information matches;When including in the index information Bibliography quantity be greater than 1 when, i.e., expression reference data base in exist with user input information matches bibliography, And quantity is greater than 1.
If the bibliography quantity for including in index information is 1, step S206 can be performed, if the ginseng for including in index information Quantity of document is examined greater than 1, step S207 can be performed, if the bibliography quantity for including in index information is 0, step can be performed S208。
Step S206: output bibliography index corresponding with index information, and it is shown in results page.
In the present embodiment, the bibliography quantity for including in current index information is 1, that is to say, that current reference document number According in library, there is only 1 and the bibliography of user's input information matches.
As a kind of mode, reference data base is after completing complete retrieval, then by the index of matched bibliography Information returns to user terminal, exports the corresponding bibliography index of the index information, and be shown in results page.
Alternatively, reference data base is in retrieving, once retrieving matched bibliography, just The index information of the bibliography is returned to user terminal, that is, in the case where complete retrieval does not complete, just will match to The index information of bibliography return to user terminal, and export the index information corresponding bibliography index, be shown in knot The fruit page.When reference data base completes complete retrieval, specific information can be returned to, for prompting user currently to retrieve Complete, currently in the result that results page is shown be all search results, here not the content to specific information and prompt and Display mode is limited in any way, it is to be understood that user can obtain through this and retrieve completed feedback.
Step S207: the bibliography rope comprising all bibliography corresponding with index information is exported with tabular form Draw, and is shown in results page.
In the present embodiment, the bibliography quantity for including in current index information is greater than 1, that is to say, that current reference document There is the bibliography that information matches are inputted with user in database, and quantity is greater than 1.
As a kind of mode, reference data base is after completing complete retrieval, by the rope of all matched bibliography Fuse breath returns to user terminal, with the tabular form output reference text comprising all bibliography corresponding with the index information Index is offered, and is shown in results page.
Alternatively, reference data base is in retrieving, once retrieving matched bibliography, just The index information of the bibliography is returned to user terminal, that is, in the case where complete retrieval does not complete, just will match to Bibliography index information return user terminal, export line by line with tabular form it is corresponding with the index information include institute There is the bibliography of bibliography to index, and is shown in results page.It, can be with when reference data base completes complete retrieval Return specific information, be completed for prompting user currently to retrieve, currently in the result that results page is shown be all retrievals As a result, not being limited in any way here to the content and display mode of specific information and prompt, it is to be understood that user can be through This, which is obtained, retrieves completed feedback.
Step S208: output result prompt information, and it is shown in results page.
In the present embodiment, the bibliography quantity for including in current index information is 0, that is to say, that current reference document number According in library, there is no the bibliography that information matches are inputted with user.
It should be noted that result prompt information is for prompting user to be not present in reference data base and user The bibliography of information matches is inputted, and the result prompt information is shown and results page, here not to result prompt information Form and content be limited in any way, can be character, number, text etc., it is to be understood that user can mention by result Show that the feedback that the bibliography of information matches is inputted with user is not present in information acquisition reference data base.
Step S209: generating and shows input page, shows input prompt information in input page.
In the present embodiment, the bibliography quantity for including in current index information is 0, that is to say, that current reference document number According in library, there is no the bibliography that information matches are inputted with user.
Reference data base generates input page after completing complete retrieval, by user terminal, and aobvious in input page Show input prompt information, for prompting user to submit supplement index to supplement reference data base on input page.
It should be noted that supplement index is to be not present in current reference bibliographic data base, but input and believe with user Cease the index of relevant bibliography.The user can be inputted generation cited in information by submitting supplement index by user Code packet, function library or data set are established with supplement index and are associated with, and the two mapping relations are stored in reference data base, and more New current reference data base, to expand current reference data base.It is understood that being grasped by above-mentioned expansion Make, can constantly improve reference data base, be included in the code for more and more needing to get the nod and data.
The method provided in this embodiment for improving reference data base, is applied in specific reality scene, Ke Yiwei Increasingly newly-increased code and data provides clear and accurate source, so that more codes and data obtain due approval, it can quilt Correct reference is conducive to the equity for ensureing author, avoids copyright battle, makes to authorize path clear.
Specifically, one user is voluntarily marked a large amount of pictures with data instance, and by all pictures marked It is organized into a data set, can be used for the training of pattern-recognition.User can be before disclosing its data set, by reference text It offers after being retrieved in database, submits bibliography index corresponding with the data set, including the sources such as author, creative time letter Breath, storage arrive current reference bibliographic data base, the source of the data set are allowed clearly to be stored in bibliography data Library obtains accurate reference information convenient for other people, knows specific authorization path, improves academic or technical article credible Degree.Simultaneously because the source clear and definite of data set ensure that the clear of copyright structure so that the work of author gets the nod, Be conducive to avoid copyright battle, author may further be encouraged more to contribute, encourages Open Source Code, encourages public database, Increase exposure rate for Open Source Code, PostgreSQL database.
Step S210: by bibliography index copy to clipbook.
In the present embodiment, after the completion of results page indexes bibliography and shows, all ginsengs that results page is shown It examines document to copy to Clipboard, is provided for user using bibliography index and do not need extra duplication operation conveniently, obtained While bibliography indexes, so that it may realize paste functionality, resulting bibliography index is pasted on project convenient for user Index information list in.
Wherein clipbook, also referred to as shear plate, shearing book, shearing originally, are a kind of software functions, duplication and stickup can be used Operation and shifts data at short-term storage data between document or application program, be in current graphic user interface (GUI) environment most One of common function, is typically implemented as anonymous, interim data buffer zone.After data are stored in clipbook, it can paste In other documents or application program for using, to easily shift data.
Alternatively, the bibliography index information obtained through step S206 or step S207 can directly add Enter to user to input in the index information list of information.
A kind of bibliography automatic generation method is present embodiments provided, it is relevant to input Automatic generation of information according to user Bibliography index.Wherein by searching database, the index information that the bibliography of information matches is inputted with user, root are obtained According to the difference for the bibliography quantity for including in index information, the different way of outputs is taken, generates stream simplifying bibliography While journey, the flexibility that bibliography index generates is improved, and when relevant bibliography is not present, providing supplement can Can, it is constantly improve in this way, reference data base is available, providing reference for more documents, code and data proves.Together When so that the work of author gets the nod ensure that the clear of copyright structure, have due to code, the source clear and definite of data Conducive to copyright battle is avoided, author may further be encouraged more to contribute, encourage Open Source Code, encourage public database, be Open Source Code, PostgreSQL database increase exposure rate.
3rd embodiment
Referring to Fig. 3, Fig. 3 shows a kind of mould of bibliography automatically generating device 300 provided by the embodiments of the present application Block block diagram.It will be illustrated below for module frame chart shown in Fig. 3, the bibliography automatically generating device 300 includes: to adopt Collect module 310, retrieval module 320 and generation module 330, in which:
Acquisition module 310 inputs information for acquiring user, and it includes code, data that user, which inputs information,.
Retrieval module 320, for inputting information according to user, retrieval is inputted with the user in reference data base The relevant bibliography of information, obtains the index information of relevant references.
Generation module 330, for generating bibliography index according to index information.
Bibliography automatically generating device provided by the embodiments of the present application, is generated by automatically retrieval reference data base Relevant references index clearly can advantageously utilize code, data, automatically establish bibliography index, be not necessarily to hand Motion tracking records bibliography information, and providing reference for document, project, code and data proves, simplifies the life of bibliography At process.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device and The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of shown or discussed module or direct coupling It closes or communication connection can be through some interfaces, the indirect coupling or communication connection of device or module can be electrical property, mechanical Or other forms.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
Fourth embodiment
Referring to Fig. 4, Fig. 4 shows another bibliography automatically generating device 400 provided by the embodiments of the present application Module frame chart.It will be illustrated below for module frame chart shown in Fig. 4, the bibliography automatically generating device 400 includes: Acquisition module 410, retrieval module 420 and generation module 430, in which:
Acquisition module 410 inputs information for acquiring user, and it includes code, data that user, which inputs information,.
Retrieval module 420, for inputting information according to user, retrieval is inputted with the user in reference data base The relevant bibliography of information, obtains the index information of relevant references.
Generation module 430, for generating bibliography index according to index information.
Further, in this present embodiment, the acquisition module 410 can also include:
Interface generation unit 411 submits interface for generating information in user terminal;
Information receiving unit 412 inputs information, including generation by the user that information submits interface to submit for receiving user Code, data.
Further, in this present embodiment, the retrieval module 420 can also include:
Information matching unit 421, for receive user input information after, in reference data base, according to Family inputs information, retrieves reference data base and searches the bibliography for inputting information matches with user;
Judging unit 422, for matched as a result, judging whether there is and the use according to 421 institute of information matching unit The bibliography of family input information matches;
Acquiring unit 423 is indexed, for generating related when there is the bibliography with user input information matches The index information of bibliography.
Specifically, the keyword can be in code with import, include and other have be loaded into function fields, Such as the include (including) in import (importing), the C++ in Python, above-mentioned two lifted examples are only to this implementation Code keyword in example makes example, in the present embodiment, is not limited in any way to the programmed environment of code, can be and remove Other language outside Python, C++, Java, PHP etc..
Further, in this present embodiment, the generation module 430 can also include:
Number obtainment unit 431, for obtaining the bibliography quantity for including in the index information;
As a result output unit 432, the index information for being obtained according to retrieval module 420 export corresponding with index information Bibliography index;
Page generating unit 433, for generating results page and input page;
Unit 434 as the result is shown, for showing that the index information is corresponding comprising all bibliography in results page Bibliography index or result prompt information, input page show input prompt information, for prompting user described defeated Entering the page submits supplement index to supplement the database;
Result treatment unit 435 is used for the bibliography index copy to clipbook.
Specifically, if the bibliography quantity for including in the index information that number obtainment unit 431 obtains is 1 or is greater than 1, then page generating unit 433 generates results page, and unit 434 is shown in the results page as the result is shown exports list by result 432 bibliography generated index of member, and by result treatment unit 435 by the bibliography index copy of generation to cliping and pasting Plate;
If the bibliography quantity for including in the index information that number obtainment unit 431 obtains is 0, the page generates single Member 433 generates input page, and unit 434 shows input prompt information on the input page as the result is shown, for prompting user Submit supplement index to supplement reference data base on the input page.
It is relevant to input Automatic generation of information according to user for bibliography automatically generating device provided by the embodiments of the present application Bibliography index.Wherein by searching database, the index information that the bibliography of information matches is inputted with user, root are obtained According to the difference for the bibliography quantity for including in index information, the different way of outputs is taken, generates stream simplifying bibliography While journey, the flexibility that bibliography index generates is improved, and when relevant bibliography is not present, providing supplement can Can, it is constantly improve in this way, reference data base is available, providing reference for more documents, code and data proves.Together When so that the work of author gets the nod ensure that the clear of copyright structure, have due to code, the source clear and definite of data Conducive to copyright battle is avoided, author may further be encouraged more to contribute, encourage Open Source Code, encourage public database, be Open Source Code, PostgreSQL database increase exposure rate.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device and The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of shown or discussed module or direct coupling It closes or communication connection can be through some interfaces, the indirect coupling or communication connection of device or module can be electrical property, mechanical Or other forms.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
Referring to FIG. 5, it illustrates a kind of structural block diagrams of computer readable storage medium provided by the embodiments of the present application. Program code is stored in the computer-readable medium 500, said program code can be called by processor and execute above method reality Apply method described in example.
Computer readable storage medium 500 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), The electronic memory of EPROM, hard disk or ROM etc.Optionally, computer readable storage medium 500 includes non-transient meter Calculation machine readable medium (non-transitory computer-readable storage medium).Computer-readable storage Medium 500 has the memory space for the program code 510 for executing any method and step in the above method.These program codes can With from reading or be written in one or more computer program product in this one or more computer program product. Program code 510 can for example be compressed in a suitable form.
In conclusion bibliography automatic generation method provided by the embodiments of the present application, device and computer-readable depositing Storage media first acquires user and inputs information, which can be code or data;Then in reference data base retrieval with The user inputs the relevant bibliography of information, and obtains the index information of relevant references;Finally, being based on the index Information generates bibliography index.In this way, according to the code or data of user's input, so that it may automatically retrieval database and life At associated bibliography, the movement of track record bibliography information manually is saved, is automatically established with reference to text Index is offered, online bibliography can also be provided and generate service, providing reference for document, project, code and data proves.? In the embodiment of the present application, database can also be further improved, so that more codes and data obtain should having approval, it can be correct Reference, is conducive to avoid copyright battle, makes to authorize path clear.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.For arbitrary processing mode described in embodiment of the method, in device reality Apply in example can no longer be repeated in Installation practice by corresponding processing modules implement one by one.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (mobile terminal), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.In addition, in each embodiment of the application In each functional unit can integrate in a processing module, be also possible to each unit and physically exist alone, can also two A or more than two units are integrated in a module.Above-mentioned integrated module both can take the form of hardware realization, can also It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as Independent product when selling or using, also can store in a computer readable storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application Type.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (10)

1. a kind of method that bibliography automatically generates characterized by comprising
It acquires user and inputs information, it includes code, data that the user, which inputs information,;
Information is inputted according to the user, retrieval is relevant to user input information with reference to text in reference data base It offers, obtains the index information of relevant references;
Based on the index information, bibliography index is generated.
2. the method as described in claim 1, which is characterized in that the acquisition user inputs the step of information, comprising:
It generates and shows that information submits interface;
Interface acquisition user is submitted to input information in the information.
3. method according to claim 2, which is characterized in that the information submits interface, including in following interface at least It is a kind of:
Interface is write online, for receiving code, the data of user's input;
Information imports interface, for receiving complete code packet, function library or data set.
4. the method as described in claim 1, which is characterized in that it is described that information is inputted according to the user, in bibliography number According to retrieval in library and the relevant bibliography of user input information, the step of obtaining the index information of relevant references, Include:
User input information is retrieved in the reference data base, is matched, and obtains user's input The matching result of information and relevant references;
According to the matching result, the index information of relevant references is generated.
5. method as claimed in claim 4, which is characterized in that it is described according to the matching result, generate relevant references Index information the step of, comprising:
According to the matching result, the bibliography that information matches are inputted with the user is judged whether there is;
When there is the bibliography with user input information matches, the index information of relevant references is generated.
6. the method as described in claim 1, which is characterized in that it is described to be based on the index information, generate bibliography index The step of, comprising:
Obtain the bibliography quantity for including in the index information;
When the bibliography quantity is 0, result prompt information is exported, and be shown in results page;
When the bibliography quantity is 1, bibliography index corresponding with the index information is exported, and be shown in described Results page;
It is corresponding with the index information comprising all references with tabular form output when the bibliography quantity is greater than 1 The bibliography of document indexes, and is shown in the results page.
7. method as claimed in claim 6, which is characterized in that in the output result prompt information, and be shown in result page After the step of face, the method also includes:
It generates and shows input page, show input prompt information in the input page, the input prompt information is for mentioning Show that user submits supplement index to supplement the database in the input page.
8. the method as described in claim 1, which is characterized in that be based on the index information described, generate bibliography rope After the step of drawing, the method also includes:
By the bibliography index copy to clipbook.
9. a kind of device that bibliography automatically generates characterized by comprising
Acquisition module inputs information for acquiring user, and it includes code, data that the user, which inputs information,;
Retrieval module, for inputting information according to the user, retrieval inputs with the user and believes in reference data base Relevant bibliography is ceased, the index information of relevant references is obtained;
Generation module generates bibliography index for being based on the index information.
10. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium Sequence code, said program code can be called by processor and execute the method according to claim 1.
CN201810975235.0A 2018-08-24 2018-08-24 Bibliography automatic generation method, device and computer-readable storage medium Pending CN109325093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810975235.0A CN109325093A (en) 2018-08-24 2018-08-24 Bibliography automatic generation method, device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810975235.0A CN109325093A (en) 2018-08-24 2018-08-24 Bibliography automatic generation method, device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN109325093A true CN109325093A (en) 2019-02-12

Family

ID=65263819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810975235.0A Pending CN109325093A (en) 2018-08-24 2018-08-24 Bibliography automatic generation method, device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN109325093A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880697A (en) * 2020-08-07 2020-11-03 北京搜狗科技发展有限公司 Encyclopedic data processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539904A (en) * 2009-04-21 2009-09-23 武汉大学 Automatic indexing method of quotations
CN105488151A (en) * 2015-11-27 2016-04-13 小米科技有限责任公司 Reference document recommendation method and apparatus
CN105631724A (en) * 2015-12-18 2016-06-01 重庆市科学技术研究院 Industrial design service information integration system
CN107562932A (en) * 2017-09-18 2018-01-09 西华大学 The academic reference of books data in literature acquisition method of Chinese
CN107679055A (en) * 2017-06-25 2018-02-09 平安科技(深圳)有限公司 Information retrieval method, server and readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539904A (en) * 2009-04-21 2009-09-23 武汉大学 Automatic indexing method of quotations
CN105488151A (en) * 2015-11-27 2016-04-13 小米科技有限责任公司 Reference document recommendation method and apparatus
CN105631724A (en) * 2015-12-18 2016-06-01 重庆市科学技术研究院 Industrial design service information integration system
CN107679055A (en) * 2017-06-25 2018-02-09 平安科技(深圳)有限公司 Information retrieval method, server and readable storage medium storing program for executing
CN107562932A (en) * 2017-09-18 2018-01-09 西华大学 The academic reference of books data in literature acquisition method of Chinese

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880697A (en) * 2020-08-07 2020-11-03 北京搜狗科技发展有限公司 Encyclopedic data processing method and device

Similar Documents

Publication Publication Date Title
US10795921B2 (en) Determining answers to questions using a hierarchy of question and answer pairs
US20060031235A1 (en) Expression and time-based data creation and creator-controlled organizations
CN111552766B (en) Using machine learning to characterize reference relationships applied on reference graphs
CN113886606A (en) Data annotation method, device, medium and equipment based on knowledge graph
Skreslet Thinking missiologically about the history of mission
Skinner Metadata in archival and cultural heritage settings: A review of the literature
EP3594822A1 (en) Intelligent data ingestion system and method for governance and security
Bailey et al. Contextual reflections on innovations in an interconnected world: Theoretical lenses and practical considerations in ICT4D
US20150363803A1 (en) Business introduction interface
CN109325093A (en) Bibliography automatic generation method, device and computer-readable storage medium
CN110119410A (en) Processing method and processing device, computer equipment and the storage medium of reference book data
Baur Ars Electronica and the media art economy
US20160078652A1 (en) Socially generated and shared graphical representations
US20070035558A1 (en) Visual model importation
Smith et al. BIBFLOW: a roadmap for library linked data transition
Iorliam et al. A Comparative Analysis of Generative Artificial Intelligence Tools for Natural Language Processing
US11120204B2 (en) Comment-based article augmentation
Li et al. The model design of medical data life cycle based on big data platform
de Campos Vianna Searching Heterogeneous Personal Data
McCarthy et al. Looking beyond the archive: Utilizing encoded archival context in a broader societal context
Coladangelo et al. Leveraging the Power of Crowdsourcing and Linked Open Data: Transformation of the Schoenberg Database of Manuscripts and the SDBM Name and Place Authorities
Dedeyan Archival Futures. Edited by Caroline Brown.
Neupane et al. From Questions to Insightful Answers: Building an Informed Chatbot for University Resources
Vianna Searching heterogeneous personal data
US20130054607A1 (en) Method and System for Preparing Digital Information for Long-Term Preservation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190212

RJ01 Rejection of invention patent application after publication