Bid invitation file generation method and terminal equipment
By using preset weights and natural language processing algorithms in the generation of tender documents, the problem of deviations between historical tender documents and current tender requirements is solved, more efficient and accurate tender document generation is achieved, and the generation efficiency and document quality are improved.
Patent Information
- Application Number
- CN202410662428.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-27
AI Technical Summary
During the process of generating bidding documents, there is a large deviation between the historical bidding documents and the current bidding requirements. As a result, the generated documents require a lot of time and effort to modify and improve, making it difficult to apply them directly.
By calculating the historical bidding materials in the historical database that are highly similar to the bidding materials based on preset weights, similar content is obtained and filled into the preset bidding document template, and natural language processing algorithms are used to generate documents that meet the bidding requirements, and through information retrieval and semantic matching Algorithms improve the accuracy and speed of generating bids.
It achieves the generation of documents that are more in line with bidding requirements, improves the efficiency and accuracy of generating bids, reduces manual intervention and error rates, and improves the quality of documents.
Smart Images

Figure CN118569232A
Abstract
Description
Technical Field
[0001] The present application relates to the field of file processing, and in particular to a file generation method and a terminal device. Background Art
[0002] In the current process of generating bidding documents, the common practice in the industry is to select historical bidding documents that are closest to the current bidding requirements from the historical bidding document library as templates, and then modify them according to actual needs. However, there are discrepancies between the historical bidding requirements corresponding to the historical bidding documents and the current bidding requirements, which can easily lead to the selected templates being difficult to apply directly. What is more complicated is that with the continuous changes in policies, regulations, and market environment, this discrepancy often expands further, resulting in a large deviation between the generated historical bidding documents and the current bidding requirements. Therefore, when generating bidding documents, a lot of time and energy needs to be invested in modifying and improving the selected historical bidding documents.
[0003] Therefore, how to generate bidding documents that better meet bidding requirements becomes a problem that needs to be solved. Summary of the invention
[0004] The present application provides a bidding document generation method and terminal device, which can generate bidding documents that better meet bidding requirements.
[0005] In a first aspect, the present application provides a method for generating a bidding document, including: based on a preset weight, calculating historical bidding materials in a historical database whose similarity with the bidding materials exceeds a preset similarity, the bidding materials including bidding requirements, laws and regulations; obtaining similar content in the historical bidding materials whose similarity with the bidding materials exceeds a similarity threshold; obtaining historical bid content corresponding to the similar content through information retrieval technology; filling the historical bid content into a preset bid template to generate a first target bid, the preset bid template is a bid template corresponding to the bidding materials; determining unfilled content based on the first target bid, and filling the unfilled content through a preset natural language processing algorithm to generate a second target bid.
[0006] By adopting the above technical solution, historical bidding materials with high similarity in content and structure to the bidding materials and more in line with actual needs are obtained based on preset weights, and then similar contents similar to the bidding materials are determined from the screened historical materials, so as to obtain historical bid contents that meet the bidding requirements based on the similar contents, fill the historical bid contents into the preset bid template, and then analyze the filled generated first target bid through the preset natural language processing algorithm, predict the content that should be filled in the unfilled content and fill it in the unfilled content, so as to obtain a second target bid that meets the requirements.
[0007] Optionally, before calculating the historical bidding documents in the historical database whose similarity with the bidding documents exceeds the preset similarity based on the preset weights, the method also includes: setting initial weights for multiple requirements included in the bidding documents, the multiple requirements including the project background and technical standards included in the bidding requirements; instructing the user to modify the initial weights according to the bidding documents, generate the preset weights, and determine the historical bidding documents based on the preset weights.
[0008] By adopting the above technical solution, by instructing the user to modify the initial weights according to actual needs, the rationality of the weights corresponding to multiple requirements can be further guaranteed, so that the selected historical bidding materials are more suitable for the bidding project needs, thereby improving the similarity of the screened historical bidding materials.
[0009] Optionally, the historical bidding materials include N historical bidding materials, where N is a positive integer greater than 1, and the historical bidding document contents are filled into a preset bidding document template to generate a first target bidding document, including: obtaining partial similar content of each historical bidding document in the N historical bidding materials whose similarity with the bidding materials exceeds a similarity threshold to determine M partially similar contents, where the partial similar contents belong to similar contents, and M is a positive integer greater than 1; obtaining N historical bidding document contents corresponding to the M similar contents through information retrieval technology; and filling the N historical bidding document contents into the preset bidding document template through a semantic matching algorithm to generate a first target bidding document.
[0010] By adopting the above technical solution, multiple similar contents are selected from multiple historical bidding documents that have similar overall structures and overall contents to the bidding documents, and then multiple historical bid contents are obtained based on the multiple similar contents. This can improve the speed of generating bids while ensuring the accuracy and pertinence of the bids.
[0011] Optionally, after determining the unfilled content based on the first target bid and filling the unfilled content through a preset natural language processing algorithm to generate a second target bid, the method also includes: obtaining M filling positions of the historical bid content in the second target bid; displaying a material viewing link at the M filling positions, the material viewing link being used to respond to a user's material viewing instruction and displaying similar materials corresponding to the filled positions to the user, the similar materials including similar bids and similar bidding contents; determining the content in the similar materials that overlaps with the similar content, and highlighting the overlapping content.
[0012] By adopting the above technical solution and setting a data viewing link, the user can understand and analyze the filled content through the data viewing link.
[0013] Optionally, after determining the unfilled content based on the first target bid and filling the unfilled content through a preset natural language processing algorithm to generate a second target bid, the method also includes: checking the content to be reviewed in the second target bid through a preset verification model, instructing the user to review the content to be reviewed; displaying the content to be reviewed to the user; instructing the user to modify the second target bid based on the material viewing link and bidding materials to generate a third target bid.
[0014] By adopting the above technical solution, the second target bid document is checked through a preset inspection model, which can quickly detect the content that needs to be reviewed, and then instruct the user to modify the second target bid document according to the information and bidding requirements corresponding to the filled content, thereby improving the user's modification efficiency.
[0015] Optionally, before verifying the content to be reviewed in the second target bid through a preset verification model and instructing the user to review the content to be reviewed, the method also includes: obtaining historical bid samples; performing data analysis on each historical bid in the historical bid samples to generate data analysis results, the data analysis including structural analysis, content analysis, and error identification; formulating verification rules based on the data analysis results; generating a preset verification model based on the verification rules, so as to determine the content to be reviewed in the second target bid through the preset verification model.
[0016] By adopting the above technical solution, it is possible to realize automated inspection of the generated bidding documents, which can not only improve the inspection efficiency and reduce manual intervention, but also reduce the error rate and improve the quality of the bidding documents.
[0017] Optionally, before filling the historical bid content into the preset bid template to generate the first target bid, the method also includes: obtaining historical bid samples, the historical bid samples including training bid samples and test bid samples; parsing the bid structure of each historical bid in the historical bid samples, and the content features of each historical bid, to generate multiple bid structures and multiple content features; classifying the historical bid samples based on the multiple bid structures and multiple content features to determine multiple bid categories; training the initial machine learning model based on the determined multiple bid categories to generate a preset machine learning model; generating multiple preset bid templates through the preset machine learning model, the multiple preset bid templates including the preset bid template.
[0018] By adopting the above technical solution and generating a variety of preset bid templates through a preset machine learning model, it is possible to quickly obtain preset bid templates that meet the bidding requirements, thereby improving the speed of generating bidding documents.
[0019] In a second aspect of the present application, a terminal device is provided, including: a calculation module, which is used to calculate, based on a preset weight, historical bidding materials in a historical database whose similarity with the bidding materials exceeds a preset similarity, and the bidding materials include bidding requirements, laws and regulations; an acquisition module, which is used to obtain similar content in the historical bidding materials whose similarity with the bidding materials exceeds a similarity threshold; a retrieval module, which is used to obtain historical tender document content corresponding to the similar content through information retrieval technology; a first generation module, which is used to fill the historical tender document content into a preset tender document template to generate a first target tender document, and the preset tender document template is a tender template corresponding to the tender materials; a second generation module, which is used to determine unfilled content based on the first target tender document, and fill the unfilled content through a preset natural language processing algorithm to generate a second target tender document.
[0020] In a third aspect of the present application, an electronic device is provided, comprising a processor (401), a memory (405), a user interface (403) and a network interface (404), wherein the memory (405) is used to store instructions, the user interface (403) and the network interface (404) are used to communicate with other devices, and the processor (401) is used to execute the instructions stored in the memory (405) so that the electronic device (400) executes any method of the first aspect.
[0021] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, the method steps of any one of the first aspects are executed.
[0022] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. By screening out historical bidding materials that are similar to the bidding materials, and then determining similar contents that are similar to the bidding materials from the screened historical materials, it is possible to obtain historical tender document contents that are more in line with the bidding requirements through similar contents that meet the overall bidding requirements, and generate bidding documents that meet the bidding requirements, thereby avoiding using historical bidding documents that are only partially similar but do not meet the overall bidding requirements as filler content.
[0023] 2. By selecting multiple similar contents from multiple historical bidding documents that have similar overall structures and contents to the bidding documents, and then obtaining multiple historical tender document contents based on the multiple similar contents, the speed of generating tender documents can be improved while ensuring the accuracy and pertinence of the tender documents. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a schematic diagram of an application scenario provided in an embodiment of the present application.
[0025] Figure 2It is a flow chart of the bidding document generation method disclosed in the embodiment of the present application.
[0026] Figure 3 It is a structural diagram of a terminal device disclosed in an embodiment of the present application.
[0027] Figure 4 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0029] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0030] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0031] In the current bidding process, the generation of bidding documents is a crucial task. In order to improve the efficiency of generating bidding documents, the general practice in the industry is to select multiple historical bids corresponding to the project type from the existing historical bids according to the project type of the bidding project, and then select the historical bids that are closest to the requirements of the bidding project from multiple historical bids, use the historical bids as bid templates, and finally modify them according to the actual needs of the current bidding project to generate the target bids. However, there are discrepancies between the historical bidding requirements corresponding to the historical bids and the current bidding requirements, such as discrepancies caused by various aspects such as project scale, engineering content, technical requirements, and budget range. These discrepancies easily lead to the fact that the selected templates are often difficult to apply directly. What is more complicated is that with the continuous changes in policies, regulations, and market environment, such discrepancies often expand further. Such changes may involve the core elements of the project, such as technical requirements, budget range, etc., and may also involve the overall framework and process of the project. Therefore, these changes make the historical bids generated based on the historical bidding requirements have a large deviation from the current bidding requirements. Therefore, when generating bidding documents, a lot of time and energy need to be invested to modify and improve the selected historical bids.
[0032] The bidding document generation method provided in this application can be applied to the scenario of generating bidding documents. Figure 1 , Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1 In the application scenario shown, after logging in, the user calculates the similarity between the content of all historical data and the bidding data in the historical database according to the preset weight, and screens out the historical bidding data with a similarity greater than the preset similarity, that is, compares the various requirements of the historical project with the various requirements of the bidding project, and obtains the historical bidding data corresponding to the historical project similar to the bidding requirements, so that the screened historical bidding data matches the overall structure and overall content of the bidding data; then screens out some similar data similar to the bidding data, that is, similar content, from the historical bidding data; thereby, the historical bidding document content with a high degree of similarity to the bidding requirements can be determined through similar content that is similar to the overall structure of the project to which it belongs and has a high degree of content similarity; the historical bidding document content is filled into the preset bidding document template to generate a first target bidding document, and then filled with the filled content according to the preset algorithm to generate a second target bidding document, that is, a bidding document that better meets the bidding requirements is generated.
[0033] based on Figure 1 Please continue to refer to the application scenarios shown in Figure 2 , Figure 2 This is a process 200 of a bidding document generation method provided in an embodiment of the present application. The bidding document generation method can be applied to any terminal device capable of human-computer interaction.
[0034] The following, combined Figure 2 A method for generating bidding documents in an embodiment of the present application is described in detail.
[0035] Step S201: Based on preset weights, historical bidding documents in the historical database whose similarity with the bidding documents exceeds the preset similarity are calculated, and the bidding documents include bidding requirements, laws and regulations.
[0036] Bidding documents refer to a series of relevant documents and information that are necessary to clarify the specific requirements and conditions of the bidding project during the bidding activities. For example, bidding documents include bidding requirements, laws and regulations, market research reports, bid rejection standards, contract terms, etc. Taking bidding requirements as an example, bidding requirements may include project background, scope, technical standards, construction period, budget, etc. It should be understood that the relevant information included in the bidding documents shall be subject to the specific bidding project requirements, and this application does not make specific restrictions on this.
[0037] Preset weights refer to the pre-set weight values for each document included in the bidding documents. For example, the project background weight in the bidding requirements is 0.1, the scope weight is 0.1, the technical standard weight is 0.1, the work period weight is 0.1, and the budget weight is 0.1.
[0038] In an optional embodiment, before calculating the historical bidding documents in the historical database whose similarity with the bidding documents exceeds the preset similarity based on the preset weights, the method also includes: setting initial weights for multiple requirements included in the bidding documents, the multiple requirements including the project background and technical standards included in the bidding requirements; instructing the user to modify the initial weights according to the bidding documents, generate the preset weights, and determine the historical bidding documents based on the preset weights.
[0039] Multiple requirements refer to every requirement included in the bidding documents, such as project background, technical standards, local regulations and policies.
[0040] The initial weight refers to a default weight value used to calculate the similarity with the tender documents. In the embodiment of the present application, the initial weight value is used to calculate the similarity of the tender documents corresponding to any tender project.
[0041] In combination with the above-mentioned bidding requirements, and taking the preset similarity of 0.6 as an example, the initial weights are set for the multiple requirements included in the bidding documents as [project background weight: 0.1, scope weight: 0.1, technical standard weight: 0.1, work period weight: 0.1, budget weight: 0.1]. After reviewing the bidding documents, the user believes that the preset weights do not meet the requirements of the bidding project, and modifies the preset weights to obtain the preset weights [project background weight: 0.05, scope weight: 0.05, technical standard weight: 0.2, work period weight: 0.1, budget weight: 0.1]. Optionally, in order to facilitate user viewing, various weights can be displayed in a hierarchical manner, such as [tender requirement weight: 0.5, law and regulation weight: 0.1, market research report weight: 0.2, bid rejection standard weight: 0.1, contract clause weight: 0.1], where the weights of the multiple requirements included in the tender requirements are [project background weight: 0.05, scope weight: 0.05, technical standard weight: 0.2, work period weight: 0.1, budget weight: 0.1], and then the similarity between the feature vector of each historical tender data and the feature vector of the current tender data is calculated by a similarity calculation method (such as cosine similarity), so as to screen out historical tender data with similarity exceeding the preset similarity. It is easy to understand that the current step is to screen out historical tender data that are consistent with the content and structure of the tender data, so the preset similarity value is set to a lower value. In actual applications, the size of the preset similarity can be adjusted according to actual needs.
[0042] It should be understood that if the historical bidding data include fewer data types than the preset data types, the initial weights corresponding to the missing data types are set to 0. For example, if the historical bidding data only include project background and technical standards, the initial weights corresponding to scope, duration, and budget are set to 0. If the user does not modify the initial weights, the similarity with the bidding data is calculated only through the project background and technical standards. Optionally, if the historical bidding data include fewer data types than the preset data types, resulting in the calculated similarities being lower than the preset similarity, all historical bidding data in the historical database are sorted in descending order according to the similarity values, and the first arbitrary number (such as 3) of historical bidding data are regarded as historical bidding data whose similarity exceeds the preset similarity.
[0043] In this implementation, by instructing the user to modify the initial weights according to actual needs, the rationality of the weights corresponding to multiple requirements can be further guaranteed, so that the selected historical bidding materials are more suitable for the bidding project needs, thereby improving the similarity of the screened historical bidding materials.
[0044] Step S202: obtaining similar contents in historical bidding documents whose similarity with the bidding documents exceeds a similarity threshold.
[0045] Similar content is used to indicate content included in historical bidding documents whose similarity with bidding documents exceeds a similarity threshold. Similar content can be project background in historical bidding documents, or project background and technical standards, which is not specifically limited in this application.
[0046] Taking the similarity threshold of 0.8 as an example, the contents of the bidding documents and historical bidding documents are all project background and technical standards. The scope, duration, and budget are calculated by the text similarity algorithm to have similarities of 0.81, 0.9, 0.7, 0.75, and 0.6, and the similar contents are project background and technical standards. Optionally, the similarity can also be calculated by other similarity calculation methods (such as feature matching algorithms) to determine the similar contents, and this application does not make specific limitations on this.
[0047] Step S203: Acquire historical bidding document contents corresponding to similar contents through information retrieval technology.
[0048] The historical tender content refers to the part of the tender that corresponds to the similar content. For example, if the similar content is the project background, the historical tender content is the introduction in the tender.
[0049] It should be understood that before information retrieval based on similar content, all historical bids should be pre-processed by word segmentation, stop word removal, indexing, etc., to establish a database of historical bids, and construct query statements (such as Boolean operators) to generate a retrieval system. Thus, historical bids corresponding to similar content can be retrieved based on similar content.
[0050] Step S204: Fill the historical bidding document content into the preset bidding document template to generate a first target bidding document. The preset bidding document template is a bidding template corresponding to the bidding information.
[0051] In an optional embodiment, before filling the historical bid content into the preset bid template to generate the first target bid, the method also includes: obtaining historical bid samples, the historical bid samples including training bid samples and test bid samples; parsing the bid structure of each historical bid in the historical bid samples, and the content features of each historical bid, to generate multiple bid structures and multiple content features; classifying the historical bid samples based on the multiple bid structures and multiple content features to determine multiple bid categories; training the initial machine learning model based on the determined multiple bid categories to generate a preset machine learning model; generating multiple preset bid templates through the preset machine learning model, the multiple preset bid templates including the preset bid template.
[0052] Exemplarily, historical bid samples are obtained, and the historical bid samples include training bid samples and test bid samples. The structure of each historical bid is parsed through a document parsing library (such as python-docx, lxml, etc.), and key structural information such as titles, paragraphs, lists, etc. are extracted. Key content features such as project background, technical standards, delivery deadlines, etc. are extracted from each historical bid using regular expressions. Based on the extracted bid structure and content features, a clustering algorithm is used to divide the bids into multiple different categories. According to the classified bid samples, an initial machine learning model (such as a random forest) is trained to obtain a preset machine learning model. The trained preset machine learning model is then used in combination with the historical bid samples to generate a variety of preset bid templates, wherein the multiple preset bid templates include a preset bid template.
[0053] In this embodiment, by presetting a machine learning model and generating a variety of preset bid templates, preset bid templates that meet the bidding requirements can be quickly obtained, thereby improving the speed of generating bidding documents.
[0054] In an optional implementation, the historical bidding materials include N historical bidding materials, where N is a positive integer greater than 1, and the historical bidding document contents are filled into a preset bidding document template to generate a first target bidding document, including: obtaining partial similar contents of each of the N historical bidding materials whose similarity with the bidding materials exceeds a similarity threshold to determine M partial similar contents, where the partial similar contents belong to similar contents, and M is a positive integer greater than 1; obtaining N historical bidding document contents corresponding to the M similar contents through information retrieval technology; and filling the N historical bidding document contents into the preset bidding document template through a semantic matching algorithm to generate a first target bidding document.
[0055] Combined with the above example, the N historical bidding documents are historical bidding document A and historical bidding document B. Some similar contents in historical bidding document A whose similarity with the bidding documents exceeds the similarity threshold are project background and technical standards, and some similar contents in historical bidding document B are local regulations and policies, that is, M similar contents are 3 similar contents. Then, the historical bidding document content A corresponding to the project background and technical standards, and the historical bidding document content B corresponding to the local regulations and policies are obtained through information retrieval technology. Then, the historical bidding document content A and the historical bidding document content B are analyzed through the semantic matching algorithm, and analyzed and matched with the contents that need to be filled in the preset bidding document template. Finally, the introduction and technical requirements in the historical bidding document content A are supplemented to the introduction and technical requirements in the preset bidding document template, and the bidder's instructions in the historical bidding document content B are supplemented to the bidder's instructions in the preset bidding document template to generate the first target bid.
[0056] It should be understood that if the M similar contents respectively correspond to historical tender contents and also correspond to the same part in the preset tender template, the historical tender contents corresponding to the partial similar contents with the highest similarity will be filled into the same part.
[0057] It should also be understood that there is a one-to-one correspondence between the N historical bidding materials and the N historical bid document contents.
[0058] In this embodiment, multiple similar contents are selected from multiple historical bidding documents that have similar overall structures and overall contents to the bidding documents, and then multiple historical bid document contents are obtained based on the multiple similar contents. This can improve the speed of generating bid documents while ensuring the accuracy and pertinence of the bid documents.
[0059] In another optional implementation, after obtaining partial similar content of each of N historical bidding documents whose similarity to the bidding documents exceeds a similarity threshold, the number of partial similar content corresponding to each historical bidding document is compared, and the historical bid document corresponding to the historical bidding document with the most partial similar content is determined, and then the historical bid document content corresponding to the historical bid document is obtained through information retrieval technology, and the historical bid document content is filled into a preset bid document template to generate a first target bid document.
[0060] Step S205: determining unfilled content based on the first target bid, and filling the unfilled content by using a preset natural language processing algorithm to generate a second target bid.
[0061] The preset natural language processing algorithm is based on the historical bidding data stored in the historical database. The initial natural language processing algorithm is trained to generate corresponding text to fill the unfilled parts.
[0062] Exemplarily, the structural features of the first target bid are analyzed by a preset natural language processing algorithm, the unfilled content of the first target bid is identified, and then the unfilled content is used as input, and the corresponding text is generated to fill the unfilled part according to the input context, template structure and filled content. Optionally, the unfilled content can also be identified by other algorithms (such as template comparison method), which is not specifically limited in this application.
[0063] The bidding document generation method provided in the embodiment of the present application obtains historical bidding materials that are highly similar to the bidding materials in content and structure and are more in line with actual needs based on preset weights, and then determines similar content that is similar to the bidding materials from the screened historical materials, so as to obtain historical bid content that meets the bidding requirements based on the similar content, fill the historical bid content into a preset bid template, and then analyze the filled generated first target bid through a preset natural language processing algorithm, predict the content that should be filled in the unfilled content and fill it in the unfilled content, so as to obtain a second target bid that meets the requirements.
[0064] In an optional embodiment, after determining the unfilled content based on the first target bid and filling the unfilled content through a preset natural language processing algorithm to generate a second target bid, the method also includes: obtaining M filling positions of the historical bid content in the second target bid; displaying a material viewing link at the M filling positions, the material viewing link is used to respond to the user's material viewing instruction, and display similar materials corresponding to the filled positions to the user, the similar materials include similar bids and similar bidding contents; determining the content in the similar materials that overlaps with the similar content, and highlighting the overlapping content.
[0065] Similar bids are the bid contents filled in the corresponding filling positions. Similar bidding contents are the historical bidding materials corresponding to the similar bids in the historical bidding materials. Similar materials refer to similar bids and similar bidding contents corresponding to the filling positions. Optionally, similar materials may also include more contents, which are not specifically limited in this application.
[0066] In this implementation, by setting a data viewing link, the user can understand and analyze the filled content through the data viewing link.
[0067] In an optional embodiment, after determining the unfilled content based on the first target bid and filling the unfilled content through a preset natural language processing algorithm to generate a second target bid, the method also includes: checking the content to be reviewed in the second target bid through a preset verification model, instructing the user to review the content to be reviewed; displaying the content to be reviewed to the user; instructing the user to modify the second target bid based on the material viewing link and the bidding materials to generate a third target bid.
[0068] Optionally, before verifying the content to be reviewed in the second target bid through a preset verification model and instructing the user to review the content to be reviewed, the method also includes: obtaining historical bid samples; performing data analysis on each historical bid in the historical bid samples to generate data analysis results, the data analysis including structural analysis, content analysis, and error identification; formulating verification rules based on the data analysis results; generating a preset verification model based on the verification rules, so as to determine the content to be reviewed in the second target bid through the preset verification model.
[0069] In some embodiments, historical bidding documents samples covering different project types, industry standards and format requirements are obtained from relevant databases, and format analysis, structure analysis, content analysis, error identification and other analyses are performed on each historical bidding document. Based on the analysis results of the historical bidding documents, inspection rules applicable to the current project are formulated, and corresponding weights are assigned to each rule. The formulated inspection rules are selected in an automated inspection tool (such as a rule engine) to generate a preset inspection model. In this embodiment, automated inspection of the generated bidding documents can be achieved, which can not only improve inspection efficiency and reduce manual intervention, but also reduce error rates and improve the quality of bidding documents.
[0070] Exemplarily, the second target bid is checked by a preset inspection model, and possible problems are analyzed, such as parts that do not meet the bidding requirements, violations of laws and regulations, logical or grammatical errors, etc., and the problems found are displayed to the user as the content to be reviewed, and then M filling positions are determined by comparing the preset bid template and the first target bid, and data viewing links are set at the M filling positions, respectively, instructing the user to obtain similar data through the data viewing links, and modifying the second target bid in combination with the bidding data requirements to generate a third target bid. In this example, M filling positions can be identified by a tracking algorithm, and this application does not make specific limitations on this.
[0071] In this embodiment, the second target bid document is checked by a preset inspection model, and the content that needs to be reviewed can be quickly detected, and then the user is instructed to modify the second target bid document according to the information and bidding requirements corresponding to the filled content, which can improve the user's modification efficiency.
[0072] It is understandable that the terminal device is required to achieve Figure 2 The functions described include hardware and / or software modules that perform the corresponding functions. In combination with the steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.
[0073] In this embodiment, the terminal device can be divided into functional modules according to the above method example. For example, different functional modules can be divided according to different functions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0074] In the case of dividing each functional module into corresponding functional modules, Figure 3 A possible schematic diagram of a terminal device 300 involved in the above embodiment is shown, and the terminal device 300 includes: a calculation module 301, which is used to calculate the historical bidding materials in the historical database whose similarity with the bidding materials exceeds the preset similarity based on the preset weight, and the bidding materials include bidding requirements, laws and regulations; an acquisition module 302, which is used to obtain similar content in the historical bidding materials whose similarity with the bidding materials exceeds the similarity threshold; a retrieval module 303, which is used to obtain historical bidding document content corresponding to the similar content through information retrieval technology; a first generation module 304, which is used to fill the historical bidding document content into a preset bidding document template to generate a first target bidding document, and the preset bidding document template is a bidding template corresponding to the bidding materials; a second generation module 305, which is used to determine the unfilled content based on the first target bidding document, and fill the unfilled content through a preset natural language processing algorithm to generate a second target bidding document.
[0075] In an optional implementation method of the embodiment of the present application, the calculation module 301 is also used to set initial weights for multiple requirements included in the bidding documents, and the multiple requirements include the project background and technical standards included in the bidding requirements; instruct the user to modify the initial weights according to the bidding documents, generate preset weights, and determine the historical bidding documents based on the preset weights.
[0076] In an optional implementation method of the embodiment of the present application, the first generation module 304 is also used to obtain partial similar content of each of the N historical bidding documents whose similarity with the bidding documents exceeds a similarity threshold, so as to determine M partially similar contents, where the partial similar contents belong to similar contents, and M is a positive integer greater than 1; obtain N historical bidding document contents corresponding to the M similar contents through information retrieval technology; fill the N historical bidding document contents into a preset bidding document template through a semantic matching algorithm to generate a first target bidding document.
[0077] In an optional implementation method of the embodiment of the present application, the first generation module 304 is also used to obtain M filling positions of the historical bid content in the second target bid; display a material viewing link at the M filling positions, the material viewing link is used to respond to the user's material viewing instruction, and display similar materials corresponding to the filling positions to the user, the similar materials include similar bids and similar bidding contents; determine the content in the similar materials that overlaps with the similar content, and highlight the overlapping content.
[0078] In an optional implementation method of the embodiment of the present application, the first generation module 304 is also used to verify the content to be reviewed in the second target bid through a preset verification model, instruct the user to review the content to be reviewed; display the content to be reviewed to the user; instruct the user to modify the second target bid based on the material viewing link and bidding materials, and generate a third target bid.
[0079] In an optional implementation method of the embodiment of the present application, the second generation module 304 is also used to obtain historical bid samples; perform data analysis on each historical bid in the historical bid samples to generate data analysis results, the data analysis includes structure analysis, content analysis, and error identification; formulate inspection rules based on the data analysis results; generate a preset inspection model based on the inspection rules, so as to determine the content to be reviewed in the second target bid through the preset inspection model.
[0080] In an optional implementation method of the embodiment of the present application, the first generation module 304 is also used to obtain historical bid samples, the historical bid samples include training bid samples and test bid samples; parse the bid structure of each historical bid in the historical bid samples, and the content features of each historical bid, to generate multiple bid structures and multiple content features; classify the historical bid samples based on the multiple bid structures and multiple content features, and determine multiple bid categories; train the initial machine learning model based on the determined multiple bid categories, and generate a preset machine learning model; generate multiple preset bid templates through the preset machine learning model, and the multiple preset bid templates include a preset bid template.
[0081] The present application also discloses an electronic device. Figure 4 , Figure 4 The electronic device 400 may include: at least one processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .
[0082] The communication bus 402 is used to realize the connection and communication between these components.
[0083] The user interface 403 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 403 may also include a standard wired interface and a wireless interface.
[0084] The network interface 404 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0085] Among them, the processor 401 may include one or more processing cores. The processor 401 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the processor 401 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 401 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 401, and it can be implemented separately through a chip.
[0086] Among them, the memory 405 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 405 includes a non-transitory computer-readable storage medium. The memory 405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 405 may optionally also be at least one storage device located away from the aforementioned processor 401. Refer to Figure 4 , the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program of a bidding document generation method.
[0087] exist Figure 4In the electronic device 400 shown, the user interface 403 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 401 can be used to call an application program storing a bidding document generation method in the memory 405, and when executed by one or more processors 401, the electronic device 400 executes one or more of the methods described in the above embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0088] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0089] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0090] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0091] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0092] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0093] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.
[0094] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art that are not disclosed in the present application. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present application are defined by the claims.
Claims
1. A method for generating bidding documents, characterized in that: include: Based on the preset weights, historical bidding materials in the historical database whose similarity to the bidding materials exceeds the preset similarity are calculated, wherein the bidding materials include bidding requirements, laws and regulations; Acquire similar contents in the historical bidding documents whose similarity with the bidding documents exceeds a similarity threshold; Acquire historical bidding document contents corresponding to the similar contents through information retrieval technology; Filling the historical bidding document content into a preset bidding document template to generate a first target bidding document, wherein the preset bidding document template is a bidding template corresponding to the bidding information; Unfilled content is determined based on the first target bid, and the unfilled content is filled by using a preset natural language processing algorithm to generate a second target bid.
2. The method according to claim 1, characterized in that Before calculating the historical bidding documents in the historical database whose similarity with the bidding documents exceeds the preset similarity based on the preset weight, the method further includes: Setting initial weights for multiple requirements included in the bidding documents, the multiple requirements including the project background and technical standards included in the bidding requirements; The user is instructed to modify the initial weight according to the bidding data to generate a preset weight, so as to determine the historical bidding data based on the preset weight.
3. The method according to claim 1, characterized in that The historical bidding documents include N historical bidding documents, where N is a positive integer greater than 1, and the filling of the historical bidding document contents into a preset bidding document template to generate a first target bidding document includes: Obtaining partial similar contents of each of the N historical bidding documents whose similarity to the bidding document exceeds the similarity threshold, so as to determine M partial similar contents, the partial similar contents belonging to the similar contents, where M is a positive integer greater than 1; Obtain N historical bidding document contents corresponding to the M similar contents through information retrieval technology; The N historical bid contents are filled into the preset bid template through a semantic matching algorithm to generate the first target bid.
4. The method according to claim 3, characterized in that After determining the unfilled content based on the first target bid document and filling the unfilled content by using a preset natural language processing algorithm to generate a second target bid document, the method further includes: Obtaining M filling positions of the historical bid content in the second target bid; Displaying a data viewing link at the M filling positions, wherein the data viewing link is used to respond to a user data viewing instruction and display similar data corresponding to the filling position to the user, wherein the similar data includes similar bid documents and similar bidding contents; The content in the similar materials that overlaps with the similar content is determined, and the overlapping content is highlighted.
5. The method according to claim 4, characterized in that After determining the unfilled content based on the first target bid document and filling the unfilled content by using a preset natural language processing algorithm to generate a second target bid document, the method further includes: Check the content to be reviewed in the second target bid by using a preset checking model, and instruct the user to check the content to be reviewed; Displaying the content to be reviewed to the user; The user is instructed to modify the second target bid based on the document viewing link and the bidding document to generate a third target bid.
6. The method according to claim 5, characterized in that Before checking the content to be reviewed in the second target bid document by using the preset checking model and instructing the user to check the content to be reviewed, the method further includes: Get samples of historical bids; Performing data analysis on each historical bid in the historical bid sample to generate data analysis results, wherein the data analysis includes structure analysis, content analysis, and error identification; Formulate inspection rules based on the data analysis results; A preset inspection model is generated according to the inspection rule, so as to determine the content to be reviewed in the second target bid through the preset inspection model.
7. The method according to claim 1, characterized in that Before filling the historical bid content into the preset bid template to generate the first target bid, the method further includes: Acquire historical bid samples, wherein the historical bid samples include training bid samples and test bid samples; Analyzing the bid structure of each historical bid in the historical bid sample and the content features of each historical bid to generate multiple bid structures and multiple content features; Classifying the historical tender document samples based on the multiple tender document structures and the multiple content features to determine multiple tender document categories; Training the initial machine learning model based on the determined multiple bid document categories to generate a preset machine learning model; A plurality of preset bid templates are generated by the preset machine learning model, and the plurality of preset bid templates include the preset bid template.
8. A terminal device, characterized in that: The terminal device include: An electronic device, characterized in that it comprises a processor (401), a memory (405), a user interface (403) and a network interface (404), wherein the memory (405) is used to store instructions, the user interface (403) and the network interface (404) are used to communicate with other devices, and the processor (401) is used to execute the instructions stored in the memory (405) so that the electronic device (400) executes the method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method steps according to any one of claims 1 to 7 are performed.
Citation Information
Patent Citations
Intelligent bidding document generation method and system, computer device and storage medium
CN115760258A
Bidding book generation method and device, equipment and storage medium
CN117150000A
Method for automatically generating bid inviting file of construction project
CN117474643A
Bid file generation method and system based on large model, terminal and storage medium
CN117764039A
Intelligent bid invitation file generation method and system
CN118036584A
Cited By
Project report generation method and device
CN120124614A
Bidding document dynamic template matching method and system based on natural language processing
CN120974206A
