A document generation method and system based on big data
By managing customer information and transaction information on the big data server, extracting content tags to match document templates, and combining blockchain technology for anti-counterfeiting processing, it solves the problems of insufficient applicability and security in the existing document generation technology and realizes Efficient and secure document generation and use.
Patent Information
- Application Number
- CN202310992723.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-08-08
AI Technical Summary
Existing document generation technology cannot formulate highly applicable document templates based on different transactions between customers, and it is difficult to improve the security of documents and is prone to forgery.
Based on the big data server, we manage customer information and transaction information, extract content tags, match and generate corresponding document templates, and combine anti-counterfeiting processing and real-time recording with blockchain technology to ensure the uniqueness and security of documents.
It achieves efficient matching and applicability of document templates, improves document security, avoids forgery, and ensures the authenticity and use security of documents through anti-counterfeiting information and blockchain records.
Smart Images

Figure CN117151064B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of document generation, and in particular to a document generation method and system based on big data. Background Art
[0002] As a kind of trade document, the circulation of documents constitutes the trade procedure. Document work runs through the whole process of export, purchase, transportation and foreign exchange collection of enterprises. It is heavy in workload, time-sensitive and covers a wide range of areas. The generation of existing documents cannot formulate different document templates for transactions between customers, has no good applicability, and it is difficult to improve the security of document use, which is prone to forgery. Summary of the invention
[0003] The purpose of the present invention is to provide a document generation method and system based on big data to solve the shortcomings of the background technology.
[0004] In order to achieve the above object, the present invention provides the following technical solution: a document generation method based on big data, comprising the following steps:
[0005] Formulate a customer information management set based on the big data server, wherein the customer information management set includes customer information and corresponding transaction information, and extract content tags according to the customer information management set;
[0006] Searching for a corresponding customer information management set according to the content tag, obtaining the correlation between the customer information management set and the content tag, and obtaining a corresponding document template according to the correlation between the customer information management set and the content tag;
[0007] Obtain document generation information, and generate information documents by matching the corresponding document template according to the document generation information;
[0008] Corresponding anti-counterfeiting information is formulated for corresponding information documents to obtain target documents, qualified information of the anti-counterfeiting information of the target document is checked, and the target document corresponding to the qualified information that meets preset conditions is output.
[0009] In a preferred embodiment, the step of formulating a customer information management set based on a big data server, wherein the customer information management set includes customer information and corresponding transaction information, and extracting content tags according to the customer information management set includes:
[0010] Collect customer information and establish a customer information management set based on the customer information, wherein the customer information management set is used to store transaction information between customers, remark information of transaction information and corresponding customer information;
[0011] The information in the customer information management set is stored in the big data server, and a personnel port is established according to the personnel information collected by the big data server, and an identity nameplate is formed corresponding to the personnel port as the authorization authentication information for accessing the big data server;
[0012] The transaction records are recorded in the customer information management set in real time, and the keywords of the transaction information and customer information are identified and extracted as the content tags of the transaction information. The content tags are updated in real time according to the information in the customer information management set.
[0013] In a preferred embodiment, the step of searching for a corresponding customer information management set according to a content tag, obtaining a correlation between the customer information management set and the content tag, and obtaining a corresponding document template according to the correlation between the customer information management set and the content tag includes:
[0014] Setting template corresponding keyword information, wherein the template corresponding keyword information includes multiple document templates and multiple target keywords corresponding to the multiple document templates respectively;
[0015] Extract multiple target keywords one by one based on the keyword information corresponding to the template, and search for corresponding customer information and transaction information in the customer information management set based on content tags by entering multiple target keywords as corresponding template information;
[0016] Find whether the customer information management set corresponding to the corresponding template information has the remark information of the transaction information. If the remark information of the transaction information does not exist, it is determined that the customer information management set is associated with the content tag.
[0017] The corresponding template information that is associated with the customer information management set and the content tag specifies the document template corresponding to multiple target keywords.
[0018] In a preferred embodiment, the step of obtaining document generation information and matching the document generation information with a corresponding document template to generate an information document includes:
[0019] Input the current customer information and current transaction information as the document generation information, search for the customer information in the customer information management set according to the current customer information, and obtain the document template according to the customer information in the customer information management set;
[0020] Identify the document generation information corresponding to the document template and fill in the generated information document.
[0021] In a preferred embodiment, the step of identifying and filling the document generation information corresponding to the document template into the generated information document includes:
[0022] Acquire a document template, intercept the document template to obtain a template image, identify and translate the project information on the template image to obtain a translated document template, wherein the project information is the filling requirement information, and annotate the project information corresponding to the document template as an information guide, wherein the information guide is an identity tag of the project information;
[0023] Identify document generation information, decompose the document generation information based on project information to obtain decomposed information, mark the decomposed information with corresponding project information, and fill in the corresponding information guide with the same project information on the document template to generate an information document.
[0024] In a preferred embodiment, the step of formulating corresponding anti-counterfeiting information on the corresponding information document to obtain the target document includes:
[0025] Obtaining an information document and selecting a marking position of the information document, wherein the marking position is used as a range for formulating anti-counterfeiting information;
[0026] A multi-color image is randomly selected, the number of colors of the multi-color image and the position and shape of the colors in the multi-color image are obtained, the images of each color of the multi-color image are decomposed to obtain color independent color blocks, the color depth value of the corresponding color independent color blocks and the contrast between each color independent color block are set and modified to obtain the target color independent color block, the target color independent color block is reassembled based on the multi-color image to obtain the anti-counterfeiting image as the anti-counterfeiting information, and the image is stored as the original information corresponding to the information document;
[0027] The anti-counterfeiting information is resized according to the identification position, and the anti-counterfeiting information after the resize is assigned to the identification position to obtain the target document.
[0028] In a preferred embodiment, the step of checking the qualified information of the anti-counterfeiting information of the target document and outputting the target document corresponding to the qualified information that meets the preset conditions includes:
[0029] Obtain the target document, collect the anti-counterfeiting information on the target document, extract the anti-counterfeiting information image, decompose the images of each color in the anti-counterfeiting information image to obtain independent color blocks for inspection, and obtain the number, position, shape, color depth value of the independent color blocks for inspection and the contrast between the independent color blocks of each color as inspection information;
[0030] The inspection information is compared with the original information, and the target document corresponding to the qualified information that meets the preset conditions is output as a qualified target document.
[0031] In a preferred embodiment, the method further includes storing the target document in the server of the corresponding customer based on the blockchain, and recording the usage information of the document in real time, including:
[0032] The single customer information in the customer information management set and the transaction information corresponding to the single customer information are matched to a server as a node, and multiple nodes are united through a protocol to obtain a blockchain;
[0033] Monitor the usage information of the document, where the usage information of the document includes the usage location and usage time of the document, and store the usage information of the document in the corresponding node according to the timestamp to obtain the real-time record of the document usage information.
[0034] The present invention also provides a document generation system based on big data.
[0035] In a preferred embodiment, it comprises:
[0036] A collection module, used to formulate a customer information management set based on a big data server, wherein the customer information management set includes customer information and corresponding transaction information, and extract content tags according to the customer information management set;
[0037] The formulation module is connected to the collection module and is used to search for the corresponding customer information management set according to the content tag, obtain the correlation between the customer information management set and the content tag, and obtain the corresponding document template according to the correlation between the customer information management set and the content tag;
[0038] The acquisition module is connected with the formulation module to obtain the document generation information and generate information documents according to the document generation information and the corresponding document template;
[0039] The inspection module is connected to the acquisition module, and is used to formulate corresponding anti-counterfeiting information corresponding to the information document to obtain the target document, inspect the qualified information of the anti-counterfeiting information of the target document, and output the target document corresponding to the qualified information that meets the preset conditions.
[0040] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0041] The present invention can make different selections for document templates according to changes in keywords, has good applicability, and the matching process of document templates is more efficient, which can greatly improve the efficiency of using adaptive document templates, avoid the occurrence of counterfeit documents, play a role in making anti-counterfeiting information difficult to copy, and improve the security of document use. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0043] Figure 1 The figure is a flow chart of the method of the present invention.
[0044] Figure 2 It is a system block diagram of the present invention. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] Example 1, please refer to Figure 1 As shown, the document generation method based on big data described in this embodiment includes the following steps:
[0047] S1. Formulate a customer information management set based on a big data server, wherein the customer information management set includes customer information and corresponding transaction information, and extract content tags according to the customer information management set;
[0048] In one embodiment, the step S1 of formulating a customer information management set based on a big data server, wherein the customer information management set includes customer information and corresponding transaction information, and extracting content tags according to the customer information management set includes:
[0049] S11. Collect customer information and establish a customer information management set based on the customer information, wherein the customer information management set is used to store transaction information between the customer, remark information of the transaction information, and corresponding customer information;
[0050] S12, storing the information in the customer information management set in the big data server, establishing a personnel port according to the personnel information collected by the big data server, and forming an identity nameplate corresponding to the personnel port as the authority authentication information for accessing the big data server;
[0051] S13, recording the transaction record in the customer information management set in real time, and identifying and extracting keywords of the transaction information and customer information as content tags of the transaction information, and updating the content tags in real time according to the information in the customer information management set;
[0052] As described in the above steps S11-S13, an enterprise will face more customers and have different document templates for different transactions. Therefore, it is necessary to determine the document template to be used based on the cooperative transaction projects with other customers. The customer information and the transaction information corresponding to the customer information are stored in the big data server. The content stored in the big data server is only for internal personnel of the enterprise. By assigning the registered personnel port identity nameplate as the authority authentication information for accessing the big data server, the personnel port without the identity nameplate cannot enter the big data server to obtain customer information and transaction information. The transaction records are recorded in real time in the customer information management set. The customer information management set includes several customer management information, among which a single customer management information includes a single customer information and all transaction records corresponding to the single customer information, and keywords are extracted one by one from the single customer management information as transaction information and Content tags of customer information, where the content tags include keywords in transaction information and keywords in customer information. For example, in customer information, the content tags include key information such as name and business items in the customer information; in transaction information, the content tags include key information such as time, transaction items, transaction volume and transaction channels in the transaction information. The content tags are changed according to the enterprise's needs to limit the extraction scope. The remark information of the transaction information is that the customer has characteristic needs and needs to add or delete the document template with a contractual system. As one of the important information for reference of the document template, the content tags are extracted based on the customer information and transaction information. Therefore, with the continuous increase of transaction information or the change of customer information content tags, they will also be constantly updated and changed. It can track the transaction information and extract keywords for the customer information in real time, which can provide better data reference for the template generated by the corresponding document in the future, and better select the document template with high compliance.
[0053] S2. searching for a corresponding customer information management set according to the content tag, obtaining the correlation between the customer information management set and the content tag, and obtaining a corresponding document template according to the correlation between the customer information management set and the content tag;
[0054] In one embodiment, the step S2 of searching for a corresponding customer information management set according to the content tag, obtaining the correlation between the customer information management set and the content tag, and obtaining a corresponding document template according to the correlation between the customer information management set and the content tag includes:
[0055] S21, setting template corresponding keyword information, wherein the template corresponding keyword information includes multiple document templates and multiple target keywords corresponding to the multiple document templates respectively;
[0056] S22, extracting multiple target keywords one by one based on the keyword information corresponding to the template, and searching for corresponding customer information and transaction information in the customer information management set based on the content tags by entering the multiple target keywords as corresponding template information;
[0057] S23, searching whether the customer information management set corresponding to the corresponding template information has remark information of the transaction information, and if there is no remark information of the transaction information, determining that the customer information management set is associated with the content tag;
[0058] S24, specifying the corresponding template information that is associated with the customer information management set and the content tag to use the document template corresponding to the multiple target keywords;
[0059] As described in the above steps S21-S24, multiple target keywords corresponding to the template and the document template applicable to the target keywords are pre-established. Then, the corresponding customer information and the transaction information corresponding to the customer information in the customer information management set that meet the target keywords are automatically searched according to the target keywords and used as the corresponding template information. Then, it is searched whether the customer management set of the corresponding template information has the remark information of the transaction information. The remark information is that the customer has characteristic requirements and needs to have a contractual addition or deletion to the document template. Therefore, the unified corresponding document template cannot be used. The document template with the remark information of the transaction information needs to be customized exclusively. The corresponding template information without the remark information of the transaction information is determined to be associated with the content tag. The corresponding template information with the association is specified to use the document template corresponding to the multiple target keywords. Here, generally one document template will be used for transactions with multiple customers. As a group using a single document template, it is possible to quickly formulate an appropriate document template for the customer without selecting one by one. It can be specified according to multiple keywords, and the document template can be selected differently according to the change of the keywords. It has good applicability and the matching process of the document template is more efficient.
[0060] S3. Obtain document generation information, and generate an information document by matching the corresponding document template according to the document generation information;
[0061] In one embodiment, the step S3 of obtaining document generation information and matching the document generation information with a corresponding document template to generate an information document includes:
[0062] S31, input the current customer information and the current transaction information as the document generation information, search for the customer information in the customer information management set according to the current customer information, and obtain the document template according to the customer information in the customer information management set;
[0063] S32, identifying the document generation information corresponding to the document template and filling it into the generated information document;
[0064] As described in the above steps S31-S32, the current customer information and the current transaction information are used as the document generation information, and the historical transaction information corresponding to the customer information in the big data server is searched according to the customer information, and the customer information in the corresponding customer information management set is found. The document template is obtained according to the customer information matching, and the document generation information is filled into the document template accordingly. The document template after the information is improved is used as the information document generation, and the corresponding document template can be searched according to the current customer information and transaction information, which can greatly improve the efficiency of using the adaptive document template and has high efficiency;
[0065] In one embodiment, the step S32 of identifying and filling the document generation information corresponding to the document template into the generated information document includes:
[0066] S321, obtaining a document template, intercepting the document template to obtain a template image, identifying and translating project information on the template image to obtain a translated document template, wherein the project information is filling requirement information, and marking the project information corresponding to the document template as an information guide, wherein the information guide is an identity tag of the project information;
[0067] S322, identifying the document generation information, decomposing the document generation information based on the project information to obtain decomposed information, marking the decomposed information with corresponding project information, and filling the corresponding information guide with the same project information into the document template to generate an information document;
[0068] As described in the above steps S31-S32, since export transaction information is being processed, it is necessary to identify and translate the content on the document template into the text of the corresponding country. The template image is obtained by taking a screenshot of the template, and a translated document template is obtained by translating the template image, wherein the project information is the filling requirement information, such as name, age, transaction amount and other filling requirement information, and then the translated document template is obtained. Then the project information is marked on the document template and used as an information guide. The document generation information is decomposed according to the project information to obtain the decomposed information, and the decomposed information is matched with the project information. Then, the decomposed information is filled in correspondingly through the project information and the information guide on the document template to obtain a complete information document, which can greatly improve transactions between countries. The corresponding required information documents are freely generated according to the matching document template, which can improve the efficiency of document generation and is also convenient for personnel to use.
[0069] S4. Corresponding anti-counterfeiting information is formulated for the corresponding information document to obtain the target document, and qualified information of the anti-counterfeiting information of the target document is checked, and the target document corresponding to the qualified information that meets the preset conditions is output;
[0070] In one embodiment, the step S41 of formulating corresponding anti-counterfeiting information on the corresponding information document to obtain the target document includes:
[0071] S411, obtaining an information document, selecting a marking position of the information document, wherein the marking position is used as a range for formulating anti-counterfeiting information;
[0072] S412, randomly selecting a multi-color image, obtaining the number of colors of the multi-color image and the position and shape of the colors in the multi-color image, decomposing the images of each color of the multi-color image to obtain independent color blocks, setting and modifying the color depth value and the contrast between the independent color blocks to obtain the target color independent color blocks, re-joining the target color independent color blocks based on the multi-color image to obtain the anti-counterfeiting image as the anti-counterfeiting information, and storing it as the original information corresponding to the information document;
[0073] S413, resizing the anti-counterfeiting information according to the identification position, and assigning the resized anti-counterfeiting information to the identification position to obtain a target document;
[0074] As described in the above steps S411-S413, an information document is obtained, and an identification position on the information document is selected. The identification position is the position on the information document that is uniquely assigned with anti-counterfeiting information. The anti-counterfeiting information on each information document is a different image, and the anti-counterfeiting information is a randomly obtained multi-color image. The number of colors in the multi-color image and the position and shape of the colors in the multi-color image are identified and obtained, and independent color blocks are obtained by decomposing the color blocks according to the color shape position. The color independent color blocks are processed with respect to the color depth value and the contrast between the independent color blocks to obtain a processed target color independent color block, and then the target color independent color blocks are spliced according to the multi-color image to obtain an anti-counterfeiting image as the anti-counterfeiting information. Finally, the anti-counterfeiting information is resized according to the identification position, and then the identification position is assigned to obtain the target document. This can improve the generation efficiency and uniqueness of the target document, avoid the occurrence of counterfeit documents, and play a role in making it difficult to copy the anti-counterfeiting information, thereby improving the security of document use.
[0075] In one embodiment, the step S42 of checking the qualified information of the anti-counterfeiting information of the target document and outputting the target document corresponding to the qualified information that meets the preset conditions includes:
[0076] S421, obtaining a target document, collecting anti-counterfeiting information on the target document, extracting an anti-counterfeiting information image, decomposing images of various colors in the anti-counterfeiting information image to obtain independent color blocks for inspection, and obtaining the number, position, shape, color depth value of the independent color blocks for inspection, and the contrast between the independent color blocks for inspection as inspection information;
[0077] S422, comparing the inspection information with the original information, and outputting the target document corresponding to the qualified information that meets the preset conditions as a qualified target document;
[0078] As described in the above steps S411-S413, the target document is obtained, the anti-counterfeiting information on the target document is image extracted, the images of each color in the extracted image of the anti-counterfeiting information are decomposed to obtain independent color blocks for inspection, and the number, position, shape, color depth value of the independent color blocks for inspection and the contrast between the independent color blocks of each color are obtained as inspection information, which is equivalent to decomposing and verifying the anti-counterfeiting information, which can improve the accuracy of verification and avoid missed inspections. After that, the verification information is compared with the original information, and the target document corresponding to the qualified information that meets the preset conditions is output as a qualified target document, wherein the preset conditions are that the number, position, shape, color depth value of the independent color blocks and the contrast between the independent color blocks of each color are all records of the original information, which can improve the security and subsequent verification of the document, facilitate the verification and use of the document procedures, and avoid the verification failure caused by the anti-counterfeiting information. This is equivalent to doing a preliminary experiment to verify the authenticity of the document;
[0079] S5. Store the target document in the corresponding customer's server based on blockchain, and record the document usage information in real time;
[0080] In one embodiment, the step S5 of storing the target document in the server of the corresponding customer based on the blockchain and recording the usage information of the document in real time includes:
[0081] S51, corresponding a single customer information in the customer information management set and the transaction information corresponding to the single customer information to a server as a node, and alliance the multiple nodes through a protocol to obtain a blockchain;
[0082] S52, monitoring the usage information of the document, wherein the usage information of the document includes the usage location and usage time of the document, and storing the usage information of the document in the corresponding node according to the timestamp to obtain the real-time recorded usage information of the document;
[0083] As described in the above steps S51-S52, after the target document is generated, the target document needs to be used later. When the target document is used, the target document needs to be identified, so there is a record of the use information of the target document. The single customer information and the transaction information corresponding to the single customer information correspond to a server as a node, and multiple nodes are united through a protocol to obtain a blockchain. The use information of the document is stored in the corresponding node, and the use information of the document is obtained, which is convenient for personnel to view and understand the transaction process;
[0084] A document generation system based on big data, comprising:
[0085] A collection module, used to formulate a customer information management set based on a big data server, wherein the customer information management set includes customer information and corresponding transaction information, and extract content tags according to the customer information management set;
[0086] The formulation module is connected to the collection module and is used to search for the corresponding customer information management set according to the content tag, obtain the correlation between the customer information management set and the content tag, and obtain the corresponding document template according to the correlation between the customer information management set and the content tag;
[0087] The acquisition module is connected with the formulation module to obtain the document generation information and generate information documents according to the document generation information and the corresponding document template;
[0088] The inspection module is connected to the acquisition module, and is used to formulate corresponding anti-counterfeiting information corresponding to the information document to obtain the target document, inspect the qualified information of the anti-counterfeiting information of the target document, and output the target document corresponding to the qualified information that meets the preset conditions.
[0089] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A document generation method based on big data, characterized in that: The following steps are involved: Formulate a customer information management set based on the big data server, wherein the customer information management set includes customer information and corresponding transaction information, and extract content tags according to the customer information management set; Searching for a corresponding customer information management set according to the content tag, obtaining the correlation between the customer information management set and the content tag, and obtaining a corresponding document template according to the correlation between the customer information management set and the content tag, wherein the content tag includes keywords in the transaction information and keywords in the customer information; The step of searching for the corresponding customer information management set according to the content tag, obtaining the correlation between the customer information management set and the content tag, and obtaining the corresponding document template according to the correlation between the customer information management set and the content tag includes: Setting template corresponding keyword information, wherein the template corresponding keyword information includes multiple document templates and multiple target keywords corresponding to the multiple document templates respectively; Extract multiple target keywords one by one based on the keyword information corresponding to the template, and search for corresponding customer information and transaction information in the customer information management set based on content tags by entering multiple target keywords as corresponding template information; Find whether the customer information management set corresponding to the corresponding template information has the remark information of the transaction information. If the remark information of the transaction information does not exist, it is determined that the customer information management set is associated with the content tag. The remark information of the transaction information is the addition or deletion of the contractual document template required by the customer; Specify document templates corresponding to multiple target keywords based on corresponding template information associated with the customer information management set and the content tags; Obtain document generation information, and generate information documents by matching the corresponding document template according to the document generation information; Corresponding anti-counterfeiting information is formulated for corresponding information documents to obtain target documents, qualified information of the anti-counterfeiting information of the target document is checked, and the target document corresponding to the qualified information that meets preset conditions is output.
2. The document generation method based on big data according to claim 1, characterized in that: The step of formulating a customer information management set based on the big data server, wherein the customer information management set includes customer information and corresponding transaction information, and extracting content tags according to the customer information management set includes: Collect customer information and establish a customer information management set based on the customer information, wherein the customer information management set is used to store transaction information between customers, remark information of transaction information and corresponding customer information; The information in the customer information management set is stored in the big data server, and a personnel port is established according to the personnel information collected by the big data server, and an identity nameplate is formed corresponding to the personnel port as the authorization authentication information for accessing the big data server; The transaction records are recorded in the customer information management set in real time, and the keywords of the transaction information and customer information are identified and extracted as the content tags of the transaction information. The content tags are updated in real time according to the information in the customer information management set.
3. The document generation method based on big data according to claim 1, characterized in that: The step of obtaining document generation information and matching the corresponding document template according to the document generation information to generate an information document includes: Input the current customer information and current transaction information as the document generation information, search for the customer information in the customer information management set according to the current customer information, and obtain the document template according to the customer information in the customer information management set; Identify the document generation information corresponding to the document template and fill in the generated information document.
4. The document generation method based on big data according to claim 3 is characterized by: The step of identifying and filling the document template corresponding to the document generation information into the generated information document includes: Acquire a document template, intercept the document template to obtain a template image, identify and translate the project information on the template image to obtain a translated document template, wherein the project information is the filling requirement information, and annotate the project information corresponding to the document template as an information guide, wherein the information guide is an identity tag of the project information; Identify document generation information, decompose the document generation information based on project information to obtain decomposed information, mark the decomposed information with corresponding project information, and fill in the corresponding information guide with the same project information on the document template to generate an information document.
5. The document generation method based on big data according to claim 1 is characterized in that: The step of formulating corresponding anti-counterfeiting information on the corresponding information document to obtain the target document includes: Obtaining an information document and selecting a marking position of the information document, wherein the marking position is used as a range for formulating anti-counterfeiting information; A multi-color image is randomly selected, the number of colors of the multi-color image and the position and shape of the colors in the multi-color image are obtained, the images of each color of the multi-color image are decomposed to obtain color independent color blocks, the color depth value of the corresponding color independent color blocks and the contrast between each color independent color block are set and modified to obtain the target color independent color block, the target color independent color block is reassembled based on the multi-color image to obtain the anti-counterfeiting image as the anti-counterfeiting information, and the image is stored as the original information corresponding to the information document; The anti-counterfeiting information is resized according to the identification position, and the anti-counterfeiting information after the resize is assigned to the identification position to obtain the target document.
6. A document generation method based on big data according to claim 5, characterized in that: The step of checking the qualified information of the anti-counterfeiting information of the target document and outputting the target document corresponding to the qualified information that meets the preset conditions includes: Obtain the target document, collect the anti-counterfeiting information on the target document, extract the anti-counterfeiting information image, decompose the images of each color in the anti-counterfeiting information image to obtain independent color blocks for inspection, and obtain the number, position, shape, color depth value of the independent color blocks for inspection and the contrast between the independent color blocks of each color as inspection information; The inspection information is compared with the original information, and the target document corresponding to the qualified information that meets the preset conditions is output as a qualified target document.
7. The document generation method based on big data according to claim 1 is characterized by: The method also includes storing the target document in the server of the corresponding customer based on the blockchain, and recording the usage information of the document in real time, including: The single customer information in the customer information management set and the transaction information corresponding to the single customer information are matched to a server as a node, and multiple nodes are united through a protocol to obtain a blockchain; Monitor the usage information of the document, where the usage information of the document includes the usage location and usage time of the document, and store the usage information of the document in the corresponding node according to the timestamp to obtain the real-time record of the document usage information.
8. A document generation system based on big data, used to implement the generation method according to any one of claims 1 to 7, characterized in that: include: A collection module, used to formulate a customer information management set based on a big data server, wherein the customer information management set includes customer information and corresponding transaction information, and extract content tags according to the customer information management set; The formulation module is connected to the collection module and is used to search for the corresponding customer information management set according to the content tag, obtain the correlation between the customer information management set and the content tag, and obtain the corresponding document template according to the correlation between the customer information management set and the content tag; The acquisition module is connected with the formulation module to obtain the document generation information and generate information documents according to the document generation information and the corresponding document template; The inspection module is connected to the acquisition module, and is used to formulate corresponding anti-counterfeiting information corresponding to the information document to obtain the target document, inspect the qualified information of the anti-counterfeiting information of the target document, and output the target document corresponding to the qualified information that meets the preset conditions.
Citation Information
Patent Citations
Document management method and device, equipment and storage medium
CN109710903A
Document generation method and device, equipment and storage medium
CN112579867A
