Litigation document generation method and device, electronic equipment and storage medium

By identifying the position indicator characters and seal coordinates in the litigation document, and automatically adding seals, the inefficient generation of litigation document formats is solved due to the differences in litigation document formats in different scenarios, and efficient litigation document generation is achieved.

CN119005154APending Publication Date: 2024-11-22PING AN INT FINANCIAL LEASING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411010635.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Due to the different formats of litigation documents under different scenario requirements, the printing coordinates need to be manually adjusted each time, resulting in low efficiency in litigation documents generation.

Method used

By obtaining the position indicator characters in the litigation document, identifying its coordinates, and obtaining the seal coordinates based on the coordinates, adding seals to the seal coordinate positions, generating sealed litigation documents, and automatically identifying and processing data using artificial intelligence technology.

Benefits of technology

It improves the efficiency of generating litigation documents, reduces the steps of manually adjusting the print coordinates, and improves the efficiency and accuracy of generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119005154A_ABST
    Figure CN119005154A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a litigation document generation method and device, electronic equipment and a storage medium, and belongs to the field of financial science and technology. The method comprises the following steps: acquiring a first litigation document; position indication characters in the first litigation document are recognized, and the font color of the position indication characters is the same as the background color of the first litigation document; according to the position indication character, obtaining a seal coordinate corresponding to the first litigation document; and adding a seal at a position corresponding to the seal coordinate of the first litigation document to obtain a second litigation document. According to the embodiment of the invention, the generation efficiency of the litigation document can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of financial technology, and in particular to a litigation document generation method, device, electronic device and storage medium. Background Art

[0002] With the development of the financial industry, the financial product lines and business areas of some companies are constantly increasing, and the requirements for litigation documents required for debt collection are becoming increasingly higher. Due to the differences in business types and regional courts, the required litigation documents are also different.

[0003] In the related art, the litigation document is generated by first generating the corresponding litigation document without seal according to the scene requirements, and then controlling the printing device through the seal system to generate the litigation document with seal. Since the formats of litigation documents under different scene requirements are different, the seal coordinates must be manually adjusted according to different litigation documents each time, resulting in low efficiency in litigation document generation. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to propose a litigation document generation method, device, electronic device and storage medium, aiming to improve the efficiency of litigation document generation.

[0005] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a litigation document generation method, which is applied to an electronic device, and the method includes:

[0006] Obtaining first litigation documents;

[0007] Identifying a position indicating character in the first litigation document, wherein a font color of the position indicating character is the same as a background color of the first litigation document;

[0008] According to the position indicating characters, obtaining the seal coordinates corresponding to the first litigation document;

[0009] A seal is added at a position corresponding to the seal coordinates of the first litigation document to obtain a second litigation document, wherein the second litigation document is the first litigation document with the seal added.

[0010] In some embodiments, the electronic device includes a seal system; and obtaining the seal coordinates corresponding to the first litigation document according to the position indicating character includes:

[0011] Acquire initial coordinates of the position indicating character, where the initial coordinates are coordinates of the position indicating character in the coordinate system of the first litigation document;

[0012] The initial coordinates are converted into seal coordinates to obtain seal coordinates, where the seal coordinates are coordinates of the position indicating character in the coordinate system of the seal system.

[0013] In some embodiments, before the seal coordinate conversion process is performed on the initial coordinate data, the method further includes:

[0014] Obtaining a plurality of different types of litigation documents;

[0015] Obtaining initial coordinates corresponding to a plurality of litigation documents respectively;

[0016] Obtaining seal coordinates corresponding to a plurality of litigation documents respectively;

[0017] A mapping relationship between the initial coordinates and the corresponding seal coordinates is obtained according to the multiple initial coordinates and the corresponding multiple seal coordinates, and the mapping relationship is used for seal coordinate conversion.

[0018] In some embodiments, obtaining the first litigation document includes:

[0019] Get litigation templates;

[0020] Get parameter adjustment commands;

[0021] The parameters of the litigation template are adjusted according to the parameter adjustment command to generate a first litigation document.

[0022] In some embodiments, before obtaining the litigation template, the process further includes:

[0023] Acquire a litigation template set, wherein the litigation template set includes multiple different types of litigation templates;

[0024] Parsing the litigation template set to extract distinguishing elements from a plurality of different types of litigation templates;

[0025] Constructing a directory tree according to the distinguishing elements;

[0026] Matching the litigation templates in the litigation template set with the directories under the directory tree respectively, and determining the directory matched by each litigation template;

[0027] Each litigation template is stored in a matching directory, and a litigation template management library is obtained, wherein the litigation template management library is used to obtain litigation templates.

[0028] In some embodiments, before obtaining the parameter adjustment command, the method further includes:

[0029] Acquire a litigation template set, wherein the litigation template set includes multiple different types of litigation templates;

[0030] Parsing the litigation template set and extracting parameters from each litigation template;

[0031] A litigation document parameter library is constructed according to the parameters, and the litigation document parameter library is used to perform parameter selection and generate corresponding parameter adjustment commands.

[0032] In some embodiments, obtaining the parameter adjustment command includes:

[0033] Parsing the litigation template to obtain a parameter set of the litigation template, wherein the parameter set includes all parameters corresponding to the litigation template;

[0034] Display the parameter set and the litigation document parameter library on a page to obtain page feedback results;

[0035] Generate parameter adjustment commands based on page feedback results.

[0036] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides a litigation document generation device, the device comprising:

[0037] A document acquisition module, used to acquire a first litigation document;

[0038] a character recognition module, configured to recognize a position indicating character in the first litigation document, wherein the font color of the position indicating character is the same as the background color of the first litigation document;

[0039] A coordinate acquisition module, used for acquiring the seal coordinates corresponding to the first litigation document according to the position indicating character;

[0040] The seal generation module is used to add a seal at a position corresponding to the seal coordinates of the first litigation document to obtain a second litigation document, wherein the second litigation document is the first litigation document with the seal added.

[0041] To achieve the above-mentioned purpose, the third aspect of an embodiment of the present application proposes an electronic device, which includes a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the steps of the litigation document generation method as described above are realized.

[0042] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a storage medium, which is a computer-readable storage medium used for computer-readable storage, and the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the above-mentioned litigation document generation method.

[0043] The litigation document generation method, device, electronic device and storage medium proposed in the present application obtain a first litigation document; identify position indicating characters in the first litigation document; obtain the seal coordinates corresponding to the first litigation document according to the position indicating characters; and add a seal at the position corresponding to the seal coordinates of the first litigation document to obtain a second litigation document. The present application can improve the efficiency of generating litigation documents. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a flowchart of a litigation document generation method provided in an embodiment of the present application;

[0045] Figure 2 yes Figure 1 Flow chart of step S103;

[0046] Figure 3 It is a flow chart of constructing a mapping relationship of seal coordinate conversion provided by an embodiment of the present application;

[0047] Figure 4 yes Figure 1 Flow chart of step S101 in FIG.

[0048] Figure 5 is a flowchart of constructing a litigation template management library in an embodiment of the present application;

[0049] Figure 6 is a flow chart of constructing a litigation template parameter library in an embodiment of the present application;

[0050] Figure 7 yes Figure 4 Flow chart of step S402;

[0051] Figure 8 It is a structural schematic diagram of a litigation document generating device provided in an embodiment of the present application;

[0052] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0056] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0057] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0058] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0059] First, some nouns involved in this application are analyzed:

[0060] Artificial Intelligence (AI): It is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence. AI is a branch of computer science. AI attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Research in this field includes robots, language recognition, image recognition, natural language processing and expert systems. AI can simulate the information process of human consciousness and thinking. AI is also a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0061] Natural language processing (NLP): NLP uses computers to process, understand and apply human languages ​​(such as Chinese, English, etc.). NLP is a branch of artificial intelligence and an interdisciplinary subject between computer science and linguistics. It is often referred to as computational linguistics. Natural language processing includes grammatical analysis, semantic analysis, and text understanding. Natural language processing is often used in technical fields such as machine translation, handwritten and printed character recognition, speech recognition and text-to-speech conversion, information intent recognition, information extraction and filtering, text classification and clustering, and opinion mining. It involves data mining related to language processing, machine learning, knowledge acquisition, knowledge engineering, artificial intelligence research, and linguistic research related to language computing.

[0062] Information Extraction: A text processing technology that extracts specified types of entity, relationship, event and other factual information from natural language text and forms structured data output. Information extraction is a technology that extracts specific information from text data. Text data is composed of some specific units, such as sentences, paragraphs, and chapters. Text information is composed of some small specific units, such as characters, words, phrases, sentences, paragraphs, or a combination of these specific units. Extracting noun phrases, names, place names, etc. from text data are all text information extraction. Of course, the information extracted by text information extraction technology can be various types of information.

[0063] With the development of the financial industry, the financial product lines and business areas of some companies are constantly increasing, and the requirements for litigation documents required for debt collection are becoming increasingly higher. Due to the differences in business types and regional courts, the required litigation documents are also different.

[0064] In the related art, the litigation document is generated by first generating the corresponding litigation document without seal according to the scene requirements, and then controlling the printing device through the seal system to generate the litigation document with seal. Since the formats of litigation documents under different scene requirements are different, the seal coordinates must be manually adjusted according to different litigation documents each time, resulting in low efficiency in litigation document generation.

[0065] Based on this, the embodiments of the present application provide a litigation document generation method, device, electronic device and storage medium, aiming to improve the efficiency of litigation document generation.

[0066] The litigation document generation method, device, electronic device and storage medium provided in the embodiments of the present application are specifically illustrated through the following embodiments. First, the litigation document generation method in the embodiments of the present application is described.

[0067] The litigation document generation method, device, electronic device and storage medium proposed in the present application obtain a first litigation document; identify position indicating characters in the first litigation document; obtain the seal coordinates corresponding to the first litigation document according to the position indicating characters; and add a seal at the position corresponding to the seal coordinates of the first litigation document to obtain a second litigation document. This can improve the efficiency of litigation document generation.

[0068] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0069] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0070] The litigation document generation method provided in the embodiment of the present application relates to the field of artificial intelligence technology. The litigation document generation method provided in the embodiment of the present application can be applied to a terminal, can be applied to a server side, or can be software running in a terminal or a server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the litigation document generation method, etc., but is not limited to the above forms.

[0071] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0072] Figure 1 is an optional flowchart of the litigation document generation method provided in the embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S103.

[0073] Step S101, obtaining a first litigation document;

[0074] Step S102, identifying a position indicating character in the first litigation document, wherein the font color of the position indicating character is the same as the background color of the first litigation document;

[0075] Step S103, obtaining the seal coordinates corresponding to the first litigation document according to the position indicating character;

[0076] Step S104, adding a seal at a position corresponding to the seal coordinates of the first litigation document to obtain a second litigation document, wherein the second litigation document is the first litigation document with the seal added.

[0077] In the steps S101 to S106 shown in the embodiment of the present application, the second litigation document is obtained by obtaining a first litigation document; identifying a position indicating character in the first litigation document; obtaining the seal coordinates corresponding to the first litigation document according to the position indicating character; and adding a seal at a position corresponding to the seal coordinates of the first litigation document. This can improve the efficiency of generating litigation documents.

[0078] In step S101 of some embodiments, the first litigation document refers to a litigation document without a seal. A litigation document refers to a series of documents used to formally file a lawsuit or related to a lawsuit in a legal proceeding, that is, a document sent when conducting litigation collection. Exemplarily, a litigation document may be a complaint or a petition: a complaint is a formal document at the beginning of a lawsuit, which lists in detail the plaintiff's (creditor's) claim against the defendant (debtor), including the nature and amount of the debt and why the defendant is believed to repay the debt. Litigation documents play a key role in the entire collection process, ensuring that collection activities are conducted within the legal framework while also protecting the legitimate rights and interests of creditors. In addition to a complaint, litigation documents may also be a power of attorney, an application for the realization of a security interest, and the like.

[0079] It should be noted that due to the different types of litigation collection business and the different regions where the courts are located, the formats and contents of litigation documents are also different. Therefore, the positions of seals in different first litigation documents are different, and it is necessary to adjust the seal coordinates according to different first litigation documents. If the seal coordinates are not adjusted according to the format and content, but all first litigation documents use the same seal coordinates, the seal position will be disordered.

[0080] It should be noted that, in the present embodiment, the first litigation document can be generated by a template with fixed parameters, or by a manually configured document.

[0081] In step S102 of some embodiments, the position indicator character refers to a character at the printing position in the first litigation document, and the font color of the position indicator character is the same as the background color of the first litigation document, which means that when adding the position indicator character, the font color is set to be consistent with the background color of the litigation document, usually white. Since the font color of the position indicator character is the same as the background color of the first litigation document, in the subsequent printing of the formally generated litigation document, whether it is a paper litigation document or an electronic litigation document, the position indicator character at the printing coordinate will not be displayed, and the validity of the litigation document will not be affected.

[0082] It should be understood that since the position where the position indicating character is located is the stamping position, the coordinates of the position indicating character are the stamping coordinates. In the related art, the stamping position is recognized by automatically recognizing existing keywords in the document through image recognition, such as keywords like "signature stamp" or "seal". However, this method has certain flaws. First of all, the positions of keywords like "signature stamp" or "seal" are usually not the actual stamping places of the seal. The seal position should be above keywords like "signature stamp" or "seal". Moreover, the sizes of the stamping areas in different documents are different, so the distances between the actual stamping positions and keywords like "signature stamp" or "seal" in different documents are also different. And there are also cases where multiple seals are required. For example, when there are multiple litigants, multiple seals are needed. Therefore, there are certain errors in recognizing the seal position by the method of image recognition of keywords in the related art. In the first litigation document of the present application, a position indicating character with the same background color is set at the seal position. The position indicating character is generated by manual addition. Therefore, directly recognizing the position indicating character in the first litigation document can obtain the accurate stamping position. Moreover, since the font color of the position indicating character is the same as the background color, it will not be displayed in the subsequent officially generated litigation document.

[0083] It should be noted that the generation method of the position indicating character in this embodiment is to add a key character for indicating the stamping position at the coordinates where stamping is required during the document editing process. It can be a key rare character, such as "曌", "鱻", "麤", "靐", etc., or key rare symbols, such as "#", "&", etc. The user can select any character or symbol as the position indicating character according to actual needs, as long as the character and symbol used as the position indicating character do not appear in other positions of the document. The advantage of using key rare characters or key rare symbols is that they do not need to be replaced once determined. The same rare character or symbol can be used as the position indicating character during the generation of any litigation document, without the need to replace it according to the content of the litigation document. This is convenient for the pre-set coordinate recognition program to automatically recognize the coordinates of the position indicating character in the subsequent steps. Otherwise, once the character or symbol corresponding to the position indicating character is replaced, it needs to be replaced in the position recognition program. Using the same rare character or symbol in all litigation documents eliminates the need to manually map the character or symbol corresponding to the position indicating character each time, which can save time.

[0084] In step S103 of some embodiments, according to the position indicating character, the seal coordinates corresponding to the first litigation document are obtained. This means that through the position recognition of the position indicating character in step S102, the position of the position indicating character is used as the stamping position, that is, the seal coordinates corresponding to a first litigation document are obtained. The seal coordinates refer to the stamping coordinates during printing.

[0085] It should be noted that by recognizing the position indicating characters, the coordinates of a position indicating character in the first litigation document can be obtained. The method of obtaining the coordinates of the position indicating character can be through image recognition, can be through artificial intelligence recognition, or can also be through the recognition tool自带 by the document tool.

[0086] Exemplarily, in this embodiment, the key rare character "曌" is added as the position indicating character at the seal position. First, the first litigation document in WORD format is converted into a first litigation document in PDF format, and then using the API of the PDF tool, the page number and coordinates of the position indicating character in the first litigation document can be directly read. According to the page number and coordinates of the position indicating character in the first litigation document, the seal coordinates corresponding to the first litigation document can be obtained.

[0087] It should be understood that in addition to using the API of the PDF tool to recognize the coordinates and page of the position indicating character in the first litigation document, other OCR (Optical Character Recognition) software such as Tesseract OCR and ABBYY FineReader can also be used to recognize the coordinates of the position indicating character in the document.

[0088] In step S104 of some embodiments, a seal is added at the position corresponding to the seal coordinates of the first litigation document to obtain the second litigation document. This refers to applying the seal to the first litigation document according to the seal coordinates to obtain the litigation document with the seal, that is, the second litigation document.

[0089] It should be noted that the seal application operation needs to be implemented through a seal system. The seal system is a set of mechanisms for managing and controlling the use of physical seals or digital seals. It plays an important role in enterprises, financial institutions, and other organizations that require formal document authentication. The seal system aims to improve the security, efficiency, and traceability of seal use, and prevent seal abuse, forgery, and unauthorized use. According to its operation mode, the seal system can be roughly divided into two categories: physical seal system and digital seal system. What is involved in this application is the digital seal system. On the one hand, the digital seal system can generate an electronic version of the second litigation document and can also control the printer to print the second litigation document to form a paper-based litigation instrument.

[0090] Please refer to Figure 2 , Figure 2 is the flowchart of the specific method of step S103 in some embodiments of this application. In some embodiments of this application, step S103 specifically includes but is not limited to step S201 and step S202. The following will be combined with Figure 2 to introduce these two steps in detail:

[0091] First, the electronic device in the embodiment of the present application includes a seal system, that is, the seal system is integrated in the electronic device, and the litigation document is directly stamped through program processing inside the electronic device to generate a litigation document with a seal.

[0092] Step S201, obtaining the initial coordinates of the position indicating character, where the initial coordinates are the coordinates of the position indicating character in the coordinate system of the first litigation document;

[0093] Step S202: Perform seal coordinate conversion processing on the initial coordinates to obtain seal coordinates, where the seal coordinates are the coordinates of the position indicating characters in the coordinate system of the seal system.

[0094] In the steps S201 to S202 shown in the embodiment of the present application, the initial coordinates of the position indicating character are obtained by identifying the position indicating character in the first litigation document, and the initial coordinates are the coordinates of the position indicating character in the coordinate system of the first litigation document; the initial coordinates are converted into seal coordinates to obtain seal coordinates, and the seal coordinates are the coordinates of the position indicating character in the coordinate system of the seal system. The accuracy of the seal position can be improved when the coordinate system of the first litigation document is inconsistent with the seal system.

[0095] In step S201 of some embodiments, the initial coordinates of the position indicating character are obtained by identifying the position indicating character in the first litigation document in step S102. First, a litigation preview document in a picture format can be generated based on the first litigation document. Then, the coordinates and page number of the position indicating character in the litigation preview document are identified to obtain the initial coordinates corresponding to the litigation preview document. The initial coordinates are the coordinates of the position indicating character in the coordinate system of the first litigation document.

[0096] It should be noted that the recognition of position indicating characters in the litigation preview document can be performed through OCR software related to natural language processing, or through the API provided by the document tool.

[0097] Exemplarily, the first litigation document in WORD format is first converted into a first litigation document in PDF format, and then the PDF tool API is used to directly read the page number and coordinates of the position indicating character in the first litigation document. The page number and coordinates are the initial coordinates, that is, the coordinates of the position indicating character in the coordinate system of the first litigation document.

[0098] In step S202 of some embodiments, the initial coordinates are converted into seal coordinates to obtain seal coordinates, which means converting the coordinates of the position indicating character in the coordinate system of the first litigation document into the coordinates of the position indicating character in the coordinate system of the seal system. Using the seal according to the seal coordinates can obtain a seal with an accurate position.

[0099] It should be noted that an initial coordinate can be obtained by recognizing the position indicating characters in the first litigation document in step S102. If the coordinate system of the first litigation document is the same as the coordinate system of the seal system, the initial coordinate can be directly used as the input of the seal system. However, in most cases, the coordinate system of the first litigation document is different from the coordinate system of the seal system. Therefore, directly using the initial coordinate as the input of the seal system will result in a deviation in the seal position.

[0100] Therefore, in this embodiment, if the coordinate system of the first litigation document is different from the coordinate system of the seal system, the initial coordinates are converted into seal coordinates through step S202, and the seal coordinates are then used as input of the seal system to achieve accurate seal application.

[0101] It should be understood that whether the coordinate system of the first litigation document is the same as the coordinate system of the seal system can be confirmed through experiments. For example, the initial coordinates of a litigation document are first directly input into the seal system for stamping, and then the coordinate system of the first litigation document is judged to be the same as the coordinate system of the seal system based on whether there is a deviation in the seal position. If there is no deviation, the coordinate systems of the two are the same and no coordinate conversion is required; if there is a deviation, the coordinate systems of the two are different and coordinate conversion is required.

[0102] See also Figure 3 In some embodiments, before step S202, the litigation document generation method may also include but is not limited to steps S301 to S304. Figure 3 These four steps are described in detail:

[0103] Step S301, obtaining a plurality of first litigation documents of different types;

[0104] Step S302, obtaining initial coordinates corresponding to a plurality of first litigation documents respectively;

[0105] Step S303, obtaining seal coordinates corresponding to a plurality of first litigation documents respectively;

[0106] Step S304: acquiring a mapping relationship between the initial coordinates and the corresponding seal coordinates according to the multiple initial coordinates and the corresponding multiple seal coordinates, wherein the mapping relationship is used for seal coordinate conversion.

[0107] In the steps S301 to S304 shown in the embodiment of the present application, by acquiring multiple different types of litigation documents, acquiring the initial coordinates corresponding to the multiple litigation documents, acquiring the seal coordinates corresponding to the multiple litigation documents, and acquiring the mapping relationship between the initial coordinates and the corresponding seal coordinates according to the multiple initial coordinates and the corresponding multiple seal coordinates, the mapping relationship is used for seal coordinate conversion. The accuracy of the seal position can be improved when the coordinate system of the first litigation document is inconsistent with the seal system.

[0108] In step S301 of some embodiments, obtaining a plurality of first litigation documents of different types refers to obtaining first litigation documents of different formats and contents. Since the formats and contents are different, the printing positions of these first litigation documents are different.

[0109] In step S302 of some embodiments, obtaining initial coordinates corresponding to multiple first litigation documents respectively refers to identifying the position indicating characters in multiple different types of first litigation documents respectively, so as to obtain the initial coordinates corresponding to the multiple first litigation documents respectively. Since the printing positions of the first litigation documents are different, the positions of the position indicating characters in different types of first litigation documents are different, and therefore the initial coordinates corresponding to different first litigation documents are also different.

[0110] In step S303 of some embodiments, obtaining the seal coordinates corresponding to multiple first litigation documents means manually adjusting the seal coordinates to achieve the correct seal in the first litigation document in the seal system, and then obtaining the seal coordinates corresponding to the first litigation document. Since the coordinate system of the first litigation document is inconsistent with the seal system, the seal coordinates in step S303 are different from the initial coordinates in step S302.

[0111] In step S304 of some embodiments, obtaining a mapping relationship between an initial coordinate and a corresponding seal coordinate based on a plurality of initial coordinates and a corresponding plurality of seal coordinates refers to obtaining a mapping relationship between an initial coordinate and a corresponding seal coordinate by calculation. The mapping relationship can be represented by a function or a model, that is, by constructing a coordinate transformation model or a coordinate transformation function, and then performing the coordinate transformation in step S202 through the coordinate transformation model or the coordinate transformation function, or directly recording the mapping relationship between the initial coordinate and the corresponding seal coordinate in a mapping table, and performing the coordinate transformation in step S202 through the mapping table.

[0112] Exemplarily, the mapping relationship between the initial coordinates and the corresponding seal coordinates is calculated by creating a fitting function. For example, the initial coordinates are taken as input and the seal coordinates are taken as output. The two coordinate values ​​are obtained through actual verification of steps S301 to S301-S303, and a functional relationship, namely, a coordinate conversion function, is obtained by using the fitting function commonly used in engineering.

[0113] It should be understood that, in addition to the above-mentioned fitting function method, the mapping relationship between the initial coordinates and the corresponding seal coordinates can also be obtained through big data processing methods such as artificial intelligence and neural networks.

[0114] See also Figure 4 , Figure 4is a flowchart of a specific method of step S101 in some embodiments of the present application. In some embodiments of the present application, step S101 specifically includes but is not limited to steps S401 to S403. Figure 4 These three steps are described in detail:

[0115] Step S401, obtaining a litigation template;

[0116] Step S402: Obtain parameter adjustment command;

[0117] Step S403: Adjust parameters of the litigation template according to the parameter adjustment command to generate a first litigation document.

[0118] In the steps S401 to S403 shown in the embodiment of the present application, a litigation template is obtained, a parameter adjustment command is obtained, and the parameters of the litigation template are adjusted according to the parameter adjustment command to generate a first litigation document. A first litigation document of the format and content required for the current litigation collection can be generated quickly and conveniently, further improving the efficiency of litigation document generation.

[0119] In step S401 of some embodiments, the litigation template refers to a litigation document with some fixed contents and fixed parameters preset, and the user only needs to make simple parameter adjustments according to the litigation template to generate the required first litigation document.

[0120] It should be understood that there can be only one litigation template, or multiple ones can be set according to different types and regions. For example, different litigation templates can be set according to different regions, or different litigation templates can be set according to different business types, such as sale and leaseback, lease management, joint lease, etc. Obviously, setting multiple litigation templates can improve the selection before document generation, reduce the time for parameter adjustment, and further improve the efficiency of generating the first litigation document.

[0121] In step S402 of some embodiments, the parameter adjustment command refers to the adjustment instruction input by the user for some parameters after browsing the litigation template. The parameter adjustment can be a selection instruction, such as business type selection, region selection, etc., or it can be the filling in of various types of information, such as filling in the guarantee contract number, frame number, overdue amount, agent information, business amount information, court information, vehicle information, guarantor information, mortgage information, etc.

[0122] In step S403 of some embodiments, the parameters of the litigation template are adjusted according to the parameter adjustment command, which means that the parameters in the litigation template are modified according to the parameter adjustment command of step S402, and the content and format of the litigation template are adjusted by modifying the parameters, so as to generate a first litigation document that meets the user's needs.

[0123] It should be noted that modifying the parameters in the litigation template according to the parameter adjustment command includes two aspects. One aspect is to fill in some blank parameters, that is, to supplement the content in the litigation template, such as guarantor information, guarantee amount, guarantee period, etc.; the other aspect is to replace the parameters that do not meet the requirements with other parameters, such as changing no exclusive court to exclusive court, changing no guarantee to guarantee, etc.

[0124] See also Figure 5 In some embodiments, before step S401, the litigation document generation method may also include but is not limited to steps S501 to S505. Figure 5 These five steps are described in detail:

[0125] Step S501: Obtain a litigation template set, where the litigation template set includes multiple different types of litigation templates;

[0126] Step S502: parsing the litigation template set to extract distinguishing elements from multiple different types of litigation templates;

[0127] Step S503, constructing a directory tree according to the distinguishing elements;

[0128] Step S504: Match the litigation templates in the litigation template set with the directories under the directory tree respectively, and determine the directory matched by each litigation template;

[0129] Step S505: Store each litigation template in a matching directory, and obtain a litigation template management library, which is used to obtain litigation templates.

[0130] Steps S501 to S505 shown in the embodiment of the present application are as follows: obtaining a litigation template set, which includes a plurality of different types of litigation templates; parsing the litigation template set, extracting distinguishing elements in the plurality of different types of litigation templates; constructing a directory tree based on the distinguishing elements; matching the litigation templates in the litigation template set with the directories under the directory tree, respectively, to determine the directory that matches each litigation template; storing each litigation template under the matching directory, and obtaining a litigation template management library. The use of a directory tree to manage litigation templates makes what you see is what you get, making the litigation template selection process more intuitive and more convenient to manage all litigation templates, further improving the efficiency of litigation document generation.

[0131] In step S501 of some embodiments, obtaining a litigation template set refers to collecting a variety of different types of litigation templates. According to the differences in application scenarios such as different business types and different regions, litigation templates corresponding to each application scenario can be obtained. These different types of litigation templates can be obtained through a historical database of litigation documents or through the summary of predecessors. The various different types of litigation templates include but are not limited to complaints, power of attorney, applications for realization of security rights, etc.

[0132] In step S502 of some embodiments, the distinguishing elements refer to the key distinguishing points of different types of litigation templates, such as business type, whether it is a guarantee, whether it is a natural person, whether it is a proprietary court, etc. For example, the business types corresponding to the litigation templates include leaseback, lease, joint lease, commercial vehicle, direct lease, etc. Therefore, the distinguishing elements in different types of litigation templates are extracted, and the purpose is to distinguish different types of litigation templates by extracting key distinguishing points.

[0133] It should be noted that after extracting the distinguishing elements, node values ​​are set for each distinguishing element, so that the differences between the elements can be reflected through the node values, thereby distinguishing different types of litigation templates based on the node values ​​of different distinguishing elements.

[0134] For example, the node value of the business type is set to 1, whether it is a guarantee is set to 2, whether it is a natural person is set to 3, whether it is a proprietary court is set to 4, and so on.

[0135] It should be understood that the business type, whether it is a guarantee, whether it is a natural person, and whether it is a proprietary court in the above distinguishing factors are only examples of distinguishing factors in this application. Users can extract other distinguishing factors of different litigation templates according to their needs to distinguish different types of litigation templates.

[0136] In step S503 of some embodiments, a directory tree is a structure used to organize and store files in a file system. It is a hierarchical data structure, similar to a tree in nature, with a root node, branches, and leaf nodes. Each node of the directory tree can represent a directory or folder, and these nodes form branches through links, pointing to subdirectories or files. Each directory can contain files and other subdirectories, which are nested layer by layer to form a tree-like structure. Users can access any location in the tree through a path name, which is a sequence of directory names from the root directory to the target file or directory.

[0137] It should be noted that constructing a directory tree according to distinguishing elements in step S503 refers to establishing a directory tree set according to distinguishing elements, and the distinguishing elements in the directory tree can be arranged in ascending or descending order of classification.

[0138] Exemplarily, the data are first arranged according to the distinguishing factor of business type, and then arranged according to the distinguishing factor of whether there is a guarantee under the business type. The remaining distinguishing factors are arranged in a similar extended manner, and finally a directory tree containing multiple levels of branches is obtained.

[0139] In step S504 of some embodiments, the litigation templates in the litigation template set are matched with the directories under the directory tree respectively, which means finding the corresponding directory according to the elements of each litigation template itself. For example, if the elements in a litigation template are "leaseback-no security-individual business owner-no exclusive court-complaint", then the directory of "leaseback-no security-individual business owner-no exclusive court-complaint" is found, thus achieving the matching of the litigation template and the corresponding directory.

[0140] In step S505 of some embodiments, storing each litigation template in a matching directory means storing each litigation template in a corresponding position in the directory tree according to the matching relationship established in step S504. After storing all the litigation templates in the matching directory, a litigation template management library storing all the templates is obtained.

[0141] It should be noted that the action of storing each litigation template in a matching directory can be done through manual identification and placement, or it can be automatically matched and stored through a program. The program reads the litigation template, matches the directory tree according to the element values ​​in the litigation template, and then the litigation template can be automatically matched to the corresponding directory tree.

[0142] It should be understood that, compared with obtaining litigation templates from other channels, obtaining litigation templates from the litigation template management library in step S401 is obviously more convenient and faster.

[0143] See also Figure 6 In some embodiments, before step S401, the litigation document generation method may also include but is not limited to steps S601 to S603. Figure 6 These three steps are described in detail:

[0144] Step S601: Obtain a litigation template set, where the litigation template set includes multiple different types of litigation templates;

[0145] Step S602, parsing the litigation template set and extracting parameters in each litigation template;

[0146] Step S603: construct a litigation document parameter library based on the parameters, and the litigation document parameter library is used to select parameters and generate corresponding parameter adjustment commands.

[0147] In the steps S601 to S603 shown in the embodiment of the present application, a litigation template set is obtained, which includes a plurality of different types of litigation templates; the litigation template set is parsed and the parameters in each litigation template are extracted; a litigation document parameter library is constructed according to the parameters, and the litigation document parameter library is used to select parameters and generate corresponding parameter adjustment commands. All parameters can be managed by means of a parameter library, which improves the reuse rate of parameters, reduces the time cost of generating litigation documents, and further improves the efficiency of generating litigation documents.

[0148] In step S601 of some embodiments, obtaining a litigation template set refers to collecting a variety of different types of litigation templates. According to the differences in application scenarios such as different business types and different regions, litigation templates corresponding to each application scenario can be obtained. These different types of litigation templates can be obtained through a historical database of litigation documents or through the summary of predecessors. The various different types of litigation templates include but are not limited to complaints, power of attorney, applications for realization of security rights, etc.

[0149] In step S602 of some embodiments, parsing the litigation template set and extracting parameters in each litigation template refers to extracting various parameters needed in the litigation template. For example, the customer's guarantor information exists in the power of attorney and the complaint, so the guarantor information is extracted as a parameter. In addition to the guarantor information, the parameters that can be extracted include but are not limited to the guarantee contract number, frame number, overdue amount, etc.

[0150] In step S603 of some embodiments, constructing a litigation document parameter library based on parameters refers to integrating all parameters extracted from the litigation template to construct a parameter library. The litigation document parameter library is a set of parameters used in various types of litigation documents.

[0151] It should be noted that by building a litigation document parameter library, various types of relevant information in litigation documents can be classified and managed, such as agent information, business amount information, court information, vehicle information, guarantor information, mortgage information, etc. By building a parameter library, similar parameters in different litigation texts can be uniformly named, which is convenient for unified management and subsequent use. When it is necessary to adjust the parameters of the litigation template, since the parameters of most litigation documents are similar, the parameters in the litigation document parameter library can be directly reused, avoiding the situation where each new litigation document needs to re-acquire various parameters of the corresponding business, thereby improving the reuse rate and greatly reducing the time cost of generating documents.

[0152] See also Figure 7 , Figure 7is a flowchart of a specific method of step S402 in some embodiments of the present application. In some embodiments of the present application, step S402 specifically includes but is not limited to steps S701 to S703. Figure 7 These three steps are described in detail:

[0153] Step S701: parse the litigation template to obtain a parameter set of the litigation template, where the parameter set includes all parameters in the corresponding litigation template;

[0154] Step S702: Display the parameter set and the litigation document parameter library on a page to obtain page feedback results;

[0155] Step S703: Generate a parameter adjustment command according to the page feedback result.

[0156] In the steps S701 to S703 shown in the embodiment of the present application, the litigation template is parsed to obtain a parameter set of the litigation template, the parameter set includes all parameters in the corresponding litigation template; the parameter set and the litigation document parameter library are displayed on a page to obtain a page feedback result; and a parameter adjustment command is generated according to the page feedback result. The generation efficiency of the parameter adjustment command in step S402 can be improved, the litigation document can be generated quickly, and security can be improved.

[0157] In step S701 of some embodiments, the litigation template is parsed to obtain a parameter set of the litigation template, which means that the litigation template selected by the user is text-parsed to obtain all parameters in the litigation template, that is, a parameter set. It should be understood that the parameter set is only a set of all parameters in the litigation template, not a set of all parameters in the litigation document parameter library.

[0158] It should be noted that the parameters of the litigation template are in a fixed format, so the litigation template can be parsed as a text. For example, the guarantor information is set to #{guarantor information}. When the litigation template containing the guarantor information is parsed through the program, the #{guarantor information} in this format can be obtained as a parameter.

[0159] It should be noted that in the embodiments of the present application, text analysis of the litigation template may be performed by information extraction, or by artificial intelligence or other methods.

[0160] In step S702 of some embodiments, the parameter set and the litigation document parameter library are displayed on a page to obtain page feedback results, which means that all parameters corresponding to the litigation template extracted in step S701 are displayed on the page to facilitate user reference, and at the same time, approximate parameters related to the parameter set in the litigation document parameter library are displayed to facilitate user selection and replacement. The user directly adjusts the values ​​of some parameters on the page according to actual conditions, and a page feedback result is formed according to the action of adjusting the values.

[0161] It should be noted that in the embodiment of the present application, the parameter set can be displayed on the page in a sequence, and the sequence can be determined according to the order in which the parameter format #{} appears in the litigation template, or in other sequences. The specific implementation process is: starting from the first character, traverse the entire litigation template from front to back, find parameters that meet the format, and display all parameters that meet the format from front to back on the page in a preset order to form a parameter list.

[0162] It should be noted that in addition to displaying parameters in the form of a list, they can also be displayed according to the actual page of the litigation document, for example, each parameter can be displayed in the form of a frame, and the user selects and replaces the parameter by selecting the frame.

[0163] For example, when a user browses the parameters of a selected litigation template on a page, he needs to adjust parameter A in the litigation template to parameter B. In response to the user's input of parameter A, a selection box pops up on the page, which includes parameters in the litigation document parameter library. Then, parameter B is selected from the selection to adjust the parameters of the litigation template. In addition to the above box selection method, parameter selection and adjustment can also be performed by checking or other methods.

[0164] In step S703 of some embodiments, generating a parameter adjustment command based on the page feedback result means generating a parameter adjustment command based on the user's operation feedback of directly adjusting the value on the page, so that the device can regenerate the litigation document required by the user according to the parameter adjustment command.

[0165] It should be noted that through steps S701 to 703, the litigation template parameters can be adjusted and replaced online. The user can directly adjust the values ​​of some parameters on the page according to the actual situation. After regeneration, the new litigation document can be obtained without downloading the litigation template first and then editing and modifying it locally, thereby reducing the possibility of leakage of editable documents. The system only produces the final complete and printed litigation document that cannot be modified, which can improve the security of the litigation document.

[0166] The present application also provides a litigation document generation device, please refer to Figure 8, the above-mentioned litigation text generation method can be implemented. The device includes: a document acquisition module 801, a character recognition module 802, a coordinate acquisition module 803 and a seal generation module 804.

[0167] The document acquisition module 801 is used to acquire a first litigation document;

[0168] A character recognition module 802 is used to recognize a position indicating character in the first litigation document, wherein the font color of the position indicating character is the same as the background color of the first litigation document;

[0169] A coordinate acquisition module 803, used to acquire the seal coordinates corresponding to the first litigation document according to the position indication character;

[0170] The seal generation module 804 is used to add a seal at a position corresponding to the seal coordinates of the first litigation document to obtain a second litigation document, wherein the second litigation document is the first litigation document with the seal added.

[0171] The litigation document generation device of the embodiment of the present invention is used to execute the basic litigation document generation method in the above embodiment. Its specific processing process is the same as the litigation document generation method in the above embodiment, and will not be repeated here.

[0172] The embodiment of the present application also provides an electronic device, the electronic device comprising: a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, and the program is executed by the processor to realize the above-mentioned litigation document generation method. The electronic device can be any intelligent terminal including a tablet computer, a personal computer, etc.

[0173] See also Fig. 9 , Fig. 9 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0174] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0175] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the litigation document generation method of the embodiment of this application;

[0176] Input / output interface 903, used to implement information input and output;

[0177] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0178] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);

[0179] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0180] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium used for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned litigation document generation method.

[0181] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0182] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0183] It can be understood by those skilled in the art that Figure 1-7 The technical solutions shown in the figure do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than those shown in the figure, or a combination of certain steps, or different steps.

[0184] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0185] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0186] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0187] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can indicate: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can indicate: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0188] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units 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 interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0189] The units described above 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.

[0190] 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.

[0191] 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 storage medium. 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, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0192] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A litigation document generation method, applied to electronic equipment, It is characterized in that The method comprises: Obtaining first litigation documents; Identifying a position indicating character in the first litigation document, wherein a font color of the position indicating character is the same as a background color of the first litigation document; According to the position indicating character, obtaining the seal coordinates corresponding to the first litigation document; A seal is added at a position corresponding to the seal coordinates of the first litigation document to obtain a second litigation document, wherein the second litigation document is the first litigation document with the seal added.

2. The method according to claim 1, It is characterized in that The electronic device includes a seal system; and obtaining the seal coordinates corresponding to the first litigation document according to the position indicating character includes: Acquire initial coordinates of the position indicating character, where the initial coordinates are coordinates of the position indicating character in the coordinate system of the first litigation document; The initial coordinates are converted into seal coordinates to obtain seal coordinates, where the seal coordinates are coordinates of the position indicating character in the coordinate system of the seal system.

3. The method according to claim 2, It is characterized in that Before the seal coordinate conversion process is performed on the initial coordinate data, the method further comprises: obtaining a plurality of first litigation documents of different types; Obtaining initial coordinates corresponding to each of the plurality of first litigation documents; Obtaining seal coordinates corresponding to each of the plurality of first litigation documents; A mapping relationship between the initial coordinates and the corresponding seal coordinates is obtained according to the multiple initial coordinates and the corresponding multiple seal coordinates, and the mapping relationship is used for seal coordinate conversion.

4. The method according to claim 1, It is characterized in that The obtaining of the first litigation document comprises: Get litigation templates; Get parameter adjustment commands; The parameters of the litigation template are adjusted according to the parameter adjustment command to generate a first litigation document.

5. The method according to claim 4, It is characterized in that Before obtaining the litigation template, it also includes: Acquire a litigation template set, wherein the litigation template set includes multiple different types of litigation templates; Parsing the litigation template set to extract distinguishing elements from a plurality of different types of litigation templates; Constructing a directory tree according to the distinguishing elements; Matching the litigation templates in the litigation template set with the directories under the directory tree respectively, and determining the directory matched by each litigation template; Each litigation template is stored in a matching directory, and a litigation template management library is obtained, wherein the litigation template management library is used to obtain litigation templates.

6. The method according to claim 4, It is characterized in that Before obtaining the parameter adjustment command, the method further includes: Acquire a litigation template set, wherein the litigation template set includes multiple different types of litigation templates; Parsing the litigation template set and extracting parameters from each litigation template; A litigation document parameter library is constructed according to the parameters, and the litigation document parameter library is used to perform parameter selection and generate corresponding parameter adjustment commands.

7. The method according to claim 6, It is characterized in that The obtaining parameter adjustment command includes: Parsing the litigation template to obtain a parameter set of the litigation template, wherein the parameter set includes all parameters corresponding to the litigation template; Display the parameter set and the litigation document parameter library on a page to obtain page feedback results; Generate parameter adjustment commands based on page feedback results.

8. A litigation document generation device, It is characterized in that The device comprises: A document acquisition module, used to acquire a first litigation document; a character recognition module, configured to recognize a position indicating character in the first litigation document, wherein the font color of the position indicating character is the same as the background color of the first litigation document; A coordinate acquisition module, used for acquiring the seal coordinates corresponding to the first litigation document according to the position indicating character; The seal generation module is used to add a seal at a position corresponding to the seal coordinates of the first litigation document to obtain a second litigation document, wherein the second litigation document is the first litigation document with the seal added.

9. An electronic device, It is characterized in that The electronic device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the steps of the litigation document generation method as described in any one of claims 1 to 7 are realized.

10. A storage medium, the storage medium being a computer-readable storage medium, used for computer-readable storage, It is characterized in that The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the litigation document generation method described in any one of claims 1 to 7.